Problem with cron job on cpanel
Hi, i have done everything you describe in your cron job directions file but i still can't schedule a send. I get the blue message.
My cron setup is as follows:
/usr/bin/php -q /home/km0sch0/public_html/mailmanager/autoresponders.php > /dev/null 2>&1
php /home/km0sch0/public_html/mailmanager/scheduled.php > /dev/null 2>&1
any ideas? PHP version is 5.6.20
This discussion has been closed.
Comments
Hi,
Please ensure that the cron job for
scheduled.php
is set to run "every 5 mins" as per the official cron job setup instructions, not anything more or anything less than that.You may also want to check with your hosting support if your cron job is setup correctly.
Thanks.
Best regards,
Ben
I have set it up as you described, here's what's showing http://www.awesomescreenshot.com/image/1439050/3acbd8b8b73d4fe7f923ad16debc8d22
Hi,
Try changing your cron job command to:
/usr/bin/php /home/km0sch0/public_html/mailmanager/scheduled.php
instead of:
php /home/km0sch0/public_html/mailmanager/scheduled.php
Best regards,
Ben
did this...still nothing!
Please contact your hosting support to check your cron job.
Hi, i've contacted my hosting company and they said they had to change the path of php to
/usr/local/bin/php
now it works