Jump to content
Executable

cron need attention

Recommended Posts

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 1743104817_Sanstitre.png.d0df5ce3d403ee1fa7be654ad3874808.png

Should I use root instead of nginx ?

My crontab line which execute 

*/5 * * * * /usr/bin/php -q /usr/share/nginx/html/crons/cron.php

 

 

 

 

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

@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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated