Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
WAQAS DAR Posted February 9, 2017 Posted February 9, 2017 Hi im getting this issue in my ACP cron jobs are not running. is there any solution or im doing any mistake. im running ips latest version on php7 i even tried on php 5.6 but still same issue. sharing the screenshot please if anyone can help me out with this . getting this msg in ACP Advanced Configuration Cpanel cron job command i set on every mint
PPlanet Posted February 9, 2017 Posted February 9, 2017 I had a similar problem with my Dev installation. It turned out that in the first line of the cron job, "/php" wasn't enough but "/php-cli" did the job. I was able to realise this because in my CPanel where the cron jobs are done, it indicates the path for each php version, and all of them in my server end on "/php-cli", so I added the "-cli" and it worked. Now, this is something specific to my host server, and in all likelihood won't work for you, but what it shows is that IPS may not give you the exact line. But you may ask your web host for the php paths and compare with what your IPS installation gave you as the path.
WAQAS DAR Posted February 9, 2017 Author Posted February 9, 2017 thanks for reply @PPlanet did u add this line to php7 i check path from cpanel and it shows /user/lib/php or user/local/lib/php and IPS ACP shows in command line. user/bin/php ..................... so i just need to change the line from cpanel instead of /bin to /lib isint. there is no need to change anything from IPS files ??? just changing from cpanel cron command line Am i right ? sorry bit confuse and not enough knowledge of these things.
PPlanet Posted February 10, 2017 Posted February 10, 2017 Yes, php 7.0 and try to match those changes you suggest (changing the line from cpanel instead of /bin to /lib). Other than that I really don't know what else could it be. If that doesn't work you may consider opening a ticket and see if you get IPS help.
WAQAS DAR Posted February 10, 2017 Author Posted February 10, 2017 its working now thanks i did the full path and few changes like u said /php-cli and acp notification is gone and also tasks r running and got a mail from cron thats its working fine now thanks alot @PPlanet u r the boss
Recommended Posts
Archived
This topic is now archived and is closed to further replies.