Janyour Posted May 15, 2015 Share 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 ? Link to comment Share on other sites More sharing options...
Tunga Sanalp Posted May 15, 2015 Share Posted May 15, 2015 I have same problem Link to comment Share on other sites More sharing options...
不中用 Posted May 15, 2015 Share 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 . Link to comment Share on other sites More sharing options...
kysil Posted May 15, 2015 Share 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. Link to comment Share on other sites More sharing options...
不中用 Posted May 15, 2015 Share 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 .. . Link to comment Share on other sites More sharing options...
Batnik Posted May 15, 2015 Share Posted May 15, 2015 you can find it in the file:/etc/crontabcrontab -e edits the crontab of the current user Link to comment Share on other sites More sharing options...
Janyour Posted May 15, 2015 Author Share 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.