Jump to content

Last Automation Run: Yesterday at 9:00 AM NEEDS ATTENTION


Recommended Posts

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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).

Link to comment
Share on other sites

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..

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