blogstarta Posted July 9, 2017 Share Posted July 9, 2017 I cant figure this out. My Cron is not running properly. It has been showing this for some time. Cron Status Not OK: I read about a possible solution given that I am on Hostgator, and updated my Cron command line in Cpanel to this: 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: And this is my WHMCS configuration file's entry: But I get this email (roughly every 5 minutes, no surprises on that I guess): 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. 0 Quote Link to comment Share on other sites More sharing options...
bear Posted July 9, 2017 Share Posted July 9, 2017 (edited) "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 July 9, 2017 by bear 0 Quote Link to comment Share on other sites More sharing options...
blogstarta Posted July 10, 2017 Author Share Posted July 10, 2017 Which folder btw has a 500 error? Is it possible that Crons is looking for WHMCS in a folder that has restrictions? 0 Quote Link to comment Share on other sites More sharing options...
bear Posted July 10, 2017 Share Posted July 10, 2017 The cron folder (which should be above the account's root so it's not reachable via browser). 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.