Rangka Kacang Posted June 24, 2018 Share Posted June 24, 2018 Hello, I've just moved my cron directory below public_html on a freshly installed WHMCS 7.5.1 I've already followed the instructions by adding the new path cron dir in configuration.php and also added the whmcs path to the cron's config.php For the record, I've updated the cron command in my PHP as well using the new cron path. However, I'm getting this error on the main interface. It is exactly like this report here: I went into the terminal and run the command php -q /home/**hidden**/whmcs/crons/cron.php --force -vvv and got these message: Executing System Queue ---------------------- 4/4 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100% < 1 sec/< 1 sec 38.0 MiB [OK] Completed But it seems like the "NEEDS ATTENTION" notice is still there on the front page of my admin interface. Cron Status Ok Last Run: 2018-06-24 09:05 Please note that this is under the Automation Overview and not the System Health's needing attention part. What's wrong? 0 Quote Link to comment Share on other sites More sharing options...
Rangka Kacang Posted June 24, 2018 Author Share Posted June 24, 2018 I figured it out! I actually forgot to update 3 of my email forwarders piping command to my new cron.php path The NEEDS ATTENTION notice is no longer there after I changed to the correct path. Perhaps, WHMCS can improve better in handling this kind of error notice in the future so a customer like me will get the problem right away. Thank you. 0 Quote Link to comment Share on other sites More sharing options...
Rangka Kacang Posted June 25, 2018 Author Share Posted June 25, 2018 It looks like I'm having this problem again. What I did was, renaming my folder and database. I've updated the info in both my crons/config.php and configurations.php. I also double checked my email piping commands and crons command to point to the correct path. Apart from that, I've set a proper permission for every files. Now, I'm getting this error message again and the problem is I don't know which item needs attention? This is very poor error handling implementation by WHMCS and it will certainly lead to other problems when trying to figure things out. Where can I see the thing that needs my attention actually, it's not mentioned in the dashboard? Last Automation Run: Yesterday at 12:00 AM NEEDS ATTENTION Thank you for your attention (pun intended). 0 Quote Link to comment Share on other sites More sharing options...
WHMCS ChrisD Posted June 26, 2018 Share Posted June 26, 2018 Hey @Rangka Kacang Can you try adding -vvv to the end of your command line and see what errors appear in the cron output when your cron runs automatically please? 0 Quote Link to comment Share on other sites More sharing options...
Rangka Kacang Posted June 26, 2018 Author Share Posted June 26, 2018 56 minutes ago, WHMCS ChrisD said: Hey @Rangka Kacang Can you try adding -vvv to the end of your command line and see what errors appear in the cron output when your cron runs automatically please? Hi. I’m getting the same message as my original post like above (first post)... it’s very strange the needs attention notice suddenly disappeared out of the blue... also could u edit my reply above? I’ve sent a report and ticket about the problem or can u just remove this thread it’s settled for now.. 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.