Jump to content

Cron Status Not OK and Daemon can't find my WHMCS installation


blogstarta

Recommended Posts

I cant figure this out.

 

My Cron is not running properly.

It has been showing this for some time. Cron Status Not OK:

Screenshot 2017-07-09 19.10.59.png

 

I read about a possible solution given that I am on Hostgator, and updated my Cron command line in Cpanel to this:

Screenshot 2017-07-09 19.12.34.png

 

And then I moved the crons folder to one level above the whmcs install (whmcs is installed at /members/ folder), and changed the Crons config file to this:

Screenshot 2017-07-09 19.14.26.png

 

And this is my WHMCS configuration file's entry:

Screenshot 2017-07-09 19.15.37.png

 

But I get this email (roughly every 5 minutes, no surprises on that I guess):

Screenshot 2017-07-09 19.25.08.png

 

I have tried to be as detailed as I can be... perhaps a bit too detailed. Can someone here guide me and get my Cron jobs to fire as per recommendation.

Thank you.

Link to comment
Share on other sites

"changed the Crons config file to this"

 

My copy of the cron config.php file doesn't look like yours.

In mine, the text above is commented using /* this format */ and there is no line commented with "#". Speaking of which, # is an invalid php comment and may be breaking this. Change that line to either "//" in front of it, it "/* */" surrounding it and try.

 

// php single line comment

 

/*

php

multi

line

comment

*/

 

EDIT:

My apologies, seems # is acceptable in PHP comments (shell style) and won't break it.

However, visiting the folder and/or file produces a 500 error rather than a 403 (forbidden) so something's not right there. You may wish to check permissions and any .htaccess or per directory php.ini files for problems.

Edited by bear
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

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