Mote Marketing, Inc. Posted February 10, 2023 Posted February 10, 2023 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??
Daniel F Posted February 10, 2023 Posted February 10, 2023 Have you recently updated to PHP8? If yes, have you also updated the path to the PHP binary for the cron? SeNioR- 1
Mote Marketing, Inc. Posted February 10, 2023 Author Posted February 10, 2023 Thanks Daniel. I don't believe we've updated our PHP version, but let me check. SeNioR- 1
Mote Marketing, Inc. Posted February 10, 2023 Author Posted February 10, 2023 (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, 2023 by Mote Marketing, Inc.
Richard Arch Posted February 10, 2023 Posted February 10, 2023 Check out what is suggested in Advanced Configuration, see here in the screenshot the php version is in the path. Â
Jim M Posted February 10, 2023 Posted February 10, 2023 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.
Mote Marketing, Inc. Posted February 10, 2023 Author Posted February 10, 2023 You guys were spot-on correct! It was the PHP path. Hey, THANK YOU. Much-obliged! Charles
Marc Posted February 13, 2023 Posted February 13, 2023 Glad to hear things are now working for you 🙂
Recommended Posts