Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted February 10, 20232 yr 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??
February 10, 20232 yr Have you recently updated to PHP8? If yes, have you also updated the path to the PHP binary for the cron?
February 10, 20232 yr Author Thanks Daniel. I don't believe we've updated our PHP version, but let me check.
February 10, 20232 yr Author 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, 20232 yr by Mote Marketing, Inc.
February 10, 20232 yr Check out what is suggested in Advanced Configuration, see here in the screenshot the php version is in the path.
February 10, 20232 yr Community Expert 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.
February 10, 20232 yr Author You guys were spot-on correct! It was the PHP path. Hey, THANK YOU. Much-obliged! Charles