techwthquestion Posted April 24, 2023 Share Posted April 24, 2023 Hello, In the automatiation setting whmcs taking command as /usr/bin/php -q /home/userr/public_html/crons/cron.php Here I can not change PHP path in any way. can I get some help? 0 Quote Link to comment Share on other sites More sharing options...
bear Posted April 24, 2023 Share Posted April 24, 2023 That's telling you what it thinks you need to use; you still need to actually set up the cron in your hosting account, and there you can enter what you need to. 0 Quote Link to comment Share on other sites More sharing options...
techwthquestion Posted April 24, 2023 Author Share Posted April 24, 2023 Thanks. I have already set the cron in the cPanel >> Cronjobs. But I am still getting emails Daily System Cron Attention Needed. And in WHMCS >> Automatioation status, I am getting error. 0 Quote Link to comment Share on other sites More sharing options...
Remitur Posted April 24, 2023 Share Posted April 24, 2023 Are you sure that /usr/bin/php is right? May it be instead /usr/local/php72/bin/php or something like this? Also, check the PHP environment for CRONs: any customization you did in .htaccess may be ineffective for CRONs... (trick: create a simple PHP script that saves somewhere the output of phpinfo() , and make it run using a cronjob... 1 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.