Mote Marketing, Inc. Posted February 10 Share Posted February 10 As required by the IPS app, I have a CRON job that's been setup and running successfully every minute for nearly a year. But today, when I logged-in, I was greeted with the dreaded red "maintenance tasks not running" error. I have confirmed that the CRON job is still running. What am I supposed to do now?? Link to comment Share on other sites More sharing options...
Daniel F Posted February 10 Share Posted February 10 Have you recently updated to PHP8? If yes, have you also updated the path to the PHP binary for the cron? SeNioR- 1 Link to comment Share on other sites More sharing options...
Mote Marketing, Inc. Posted February 10 Author Share Posted February 10 Thanks Daniel. I don't believe we've updated our PHP version, but let me check. SeNioR- 1 Link to comment Share on other sites More sharing options...
Mote Marketing, Inc. Posted February 10 Author Share Posted February 10 (edited) Daniel, I am showing that we are on PHP v8. Can you tell me where and what I need to update exactly? I'm logged into my server via an SSH session, and have opened the only CRONTAB, which shows exactly what the IPS ACP message calls for. Apologies if this is obvious. Is this updated via the php.ini file? I don't see anything in the CRONTAB file that seems to fit. The CRONTAB text is as follows, which is exactly as called-for in the IPS ACP error message: /usr/bin/php -d memory_limit=-1 -d max_execution_time=0 /homepages/31/d850801269/htdocs/applications/core/interface/task/task.php bd4b1a5e006ebb39f2f04ba352590a4d Edited February 10 by Mote Marketing, Inc. Link to comment Share on other sites More sharing options...
Richard Arch Posted February 10 Share Posted February 10 Check out what is suggested in Advanced Configuration, see here in the screenshot the php version is in the path. Â Link to comment Share on other sites More sharing options...
Jim M Posted February 10 Share Posted February 10 19 minutes ago, Mote Marketing, Inc. said: Daniel, I am showing that we are on PHP v8. Can you tell me where and what I need to update exactly? I'm logged into my server via an SSH session, and have opened the only CRONTAB, which shows exactly what the IPS ACP message calls for. Apologies if this is obvious. Is this updated via the php.ini file? I don't see anything in the CRONTAB file that seems to fit. The CRONTAB text is as follows, which is exactly as called-for in the IPS ACP error message: /usr/bin/php -d memory_limit=-1 -d max_execution_time=0 /homepages/31/d850801269/htdocs/applications/core/interface/task/task.php bd4b1a5e006ebb39f2f04ba352590a4d You would need to ensure that the /usr/bin/php being called there is also PHP 8. If you have multi-PHP setup on your server or for some reason installed elsewhere, you would need to update that command. Typically, our command shown in ACP -> System -> Advanced Configuration, would outline this correctly from php.ini but of course, your server administrator is the best source for this information. Link to comment Share on other sites More sharing options...
Mote Marketing, Inc. Posted February 10 Author Share Posted February 10 You guys were spot-on correct! It was the PHP path. Hey, THANK YOU. Much-obliged! Charles Link to comment Share on other sites More sharing options...
Marc Stridgen Posted February 13 Share Posted February 13 Glad to hear things are now working for you 🙂 Link to comment Share on other sites More sharing options...
Recommended Posts