Jump to content
Jessie Abernathy

Cron issue.. Probably a simple fix..

Recommended Posts

I am getting this error with my Cron --> see attached screen shot

In the dashboard it says that my Cron has not ran succesfully, but in Settings -> Automation Settings , it says it has, and runs every 5 minutes...

Do I have something not configured correctly?

 

Screenshot_20181011_134528.png

Screenshot_20181011_134546.png

Share this post


Link to post
Share on other sites

@Jessie Abernathy there are two separate crons, a daily cron and a five-minute cron, its possible that something is preventing your daily cron from running on a daily basis try enabling errors under Setup > General Settings > Other > Display errors and then go into your servers terminal window and then run

php -q /home/mmdnetwo/whmcsdata/crons/cron.php -F all -vvv

Review the logs and see if there are any error messages.

Share this post


Link to post
Share on other sites

Ok, so I don't know if Im able to access my server on a terminal, but my webhost did run the command for me i believe and got back to me with the results --> see attached screen shots

I'm assuming that's the output from running the command you gave me

php -q /home/mmdnetwo/whmcsdata/crons/cron.php -F all -vvv

Screenshot_20181012_060425.png

Screenshot_20181012_060436.png

Screenshot_20181012_060444.png

Share this post


Link to post
Share on other sites

I believe the problem is solved as I have no more errors in my dashboard that "Need Attention"  🙂

well, it says 1 thing needs attention but when I click "View Issues" it says "Looking Good!"

Screenshot_20181012_064225.png

Screenshot_20181012_064233.png

Share this post


Link to post
Share on other sites
On 10/12/2018 at 10:53 AM, WHMCS ChrisD said:

@Jessie Abernathy there are two separate crons, a daily cron and a five-minute cron, its possible that something is preventing your daily cron from running on a daily basis try enabling errors under Setup > General Settings > Other > Display errors and then go into your servers terminal window and then run


php -q /home/mmdnetwo/whmcsdata/crons/cron.php -F all -vvv

Review the logs and see if there are any error messages.

Hi @WHMCS ChrisD, for the two separate crons, do I need to create 2 cron jobs,?
1 cron-job every 5 minutes, and another cron-job with same command (e.g. php -q /home/xxx/cron.php)
or only one entry is enough as long as it is running every five minute?

And another thing, I am currently running WHMCS 7.6.1, is the domainsync.php cron job is still needed?

cron.png

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