Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Janyour Posted May 15, 2015 Posted May 15, 2015 hello,i have a problem with my cron, when i launch the task.php file it tell me key incorrect, i cant add the key in the command line, i got an error.any way to integrate this key in the task.php file ?
不中用 Posted May 15, 2015 Posted May 15, 2015 hello,i have a problem with my cron, when i launch the task.php file it tell me key incorrect, i cant add the key in the command line, i got an error.any way to integrate this key in the task.php file ?..What do you have in your crontab ? in Linux " crontab -l " ..should be something like this : * * * * * /usr/bin/php5 -d memory_limit=-1 -d max_execution_time=0 /var/www/yoursite.com/html/applications/core/interface/task/task.php 6d3dfd9eaa95c1e3833cbae2a301d940 >/dev/null 2>&1 .
kysil Posted May 15, 2015 Posted May 15, 2015 Excuse me, I'd like to clarify. I should add these lines directly in the terminal?/usr/bin/php -d memory_limit=-1 -d max_execution_time=0 /var/www/html/applications/core/interface/task/task.php lasjfa8sf2o3768762jsdfdfgAfter enter this command i have Cron tasks not enabled.
不中用 Posted May 15, 2015 Posted May 15, 2015 Excuse me, I'd like to clarify. I should add these lines directly in the terminal?/usr/bin/php -d memory_limit=-1 -d max_execution_time=0 /var/www/html/applications/core/interface/task/task.php lasjfa8sf2o3768762jsdfdfg .in your Linux distro it will be something like this : crontab -e (-e = edit) .. don't forget the * * * * * (5 stars) = 1 minute interval .. .
Batnik Posted May 15, 2015 Posted May 15, 2015 you can find it in the file:/etc/crontabcrontab -e edits the crontab of the current user
Janyour Posted May 15, 2015 Author Posted May 15, 2015 i dont have access to command line, i am using easycron and i can enter only the task.php file with the path.some thing like that : www.website.com/applications/core/interface/task/task.php
Recommended Posts
Archived
This topic is now archived and is closed to further replies.