Executable Posted February 27, 2019 Share Posted February 27, 2019 WHMCS show me an error with cron. Here is the fllowing error : Quote Completing Cron tasks. Your cron has not been completed in the past 24 hours. You can learn more about cron activation in our documentation. The permission I used for the folder cron Should I use root instead of nginx ? My crontab line which execute */5 * * * * /usr/bin/php -q /usr/share/nginx/html/crons/cron.php 0 Quote Link to comment Share on other sites More sharing options...
WHMCS ChrisD Posted February 27, 2019 Share Posted February 27, 2019 Are you seeing any cron tasks running in your system log? Try running the following in your servers terminal window, /usr/bin/php -q /usr/share/nginx/html/crons/cron.php -F all -vvv Then review the servers output for any errors 0 Quote Link to comment Share on other sites More sharing options...
Executable Posted February 27, 2019 Author Share Posted February 27, 2019 I have the following error if I run the command 0 Quote Link to comment Share on other sites More sharing options...
Executable Posted February 27, 2019 Author Share Posted February 27, 2019 But if I run it with -v I get a success 0 Quote Link to comment Share on other sites More sharing options...
WHMCS ChrisD Posted February 28, 2019 Share Posted February 28, 2019 @Executable could you please try enabling errors under Setup > General Settings > Other > Display Errors & Log Errors then check then activity log after the cron runs to check for errors it seems like the manual execution ran which indicates the PHP timeout might be being hit when the automation is running 0 Quote Link to comment Share on other sites More sharing options...
Executable Posted March 1, 2019 Author Share Posted March 1, 2019 I enable the error as you said, but I don't know where to watch for debugging 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.