Jump to content

Cant change Cron Command line in Automation Settings. (And Health check seems to be bugged)


captainolive

Recommended Posts

So I configured all my PHP and configuration paths, but I'm still getting a "Needs Attention" under the automation overview.

 

When I click it, it tells me that my cron command is */5 * * * * php -q /home/maste192/public_html/hosting/crons/cron.php

But that doesnt exist, My cron folders are now in /home/maste192/whmcsdata/crons/cron.php

 

If I try to update the command line in Automation settings, the namefield wont let me place my curser in it and it just automatically highlits it. So I just deleted the whole command line and re-entered: */5 * * * * php -q /home/maste192/whmcsdata/crons/cron.php and click saved, but when I refresh the page it returns to the original command line??

 

 

Ive tried all night to get rid of all the health check issues, and all of them are fixed (except the theme one) but the warnings wont go away.

Link to comment
Share on other sites

Hello Masterolive,

 

Thanks for getting in touch, the cron path in automation settings is a uneditable field these need to be altered in your cron panel. The Automation Settings shows where your Cron.php file is in a default install

 

Did you update your Custom Cron Path as per http://docs.whmcs.com/Custom_Crons_Directory

Link to comment
Share on other sites

Yes, the directory showing up on the automation command line does not exist!

 

The only cron folde I have is listed outside of the root under Home/Username/whmcsdata/crons/cron.php

Inside that folder, the config.php has this path: $whmcspath = '/home/maste192/whmcsdata/crons/';

 

the config.php.new has: //$whmcspath = '/home/maste192/whmcsdata/crons/';

 

My cpanel chron jobs are also */5 * * * * php -q /home/maste192/whmcsdata/crons/cron.php

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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