Cron job not running
Please see the screenshot here: http://goo.gl/mhKV55. The cron job is not running even once in 10 minutes (I'd earlier set it up to run once in five min). I'm having to run it manually and it's such a pain.
The Sendy is on a shared Dreamhost plan.
I spoke with the customer support guy who confirmed that the jobs are running as expected. What should I do now?
This discussion has been closed.
Comments
Hi,
Please update to the latest version of Sendy → http://sendy.co/get-updated
Also, you manually run the scheduled.php script and it works, then your cron job is the issue as it's not executing the scheduled.php script to run the campaign.
Best regards,
Ben
Hi Ben,
I've updated Sendy to the latest version.
The campaign is in Preparing start for more than 10 min (longer than my cron job configuration).
Can you please check if I've configured the cron job properly? Screenshot here: http://goo.gl/uUGRtt
Sendy is hosted on a shared Dreamhost server, and the customer support confirms that the cron job runs once in 5 min but I'm not so sure.
Thank you.
Warm regards,
Prabu Rajasekaran
Hi,
I can't see if all intervals of 5 minutes are selected in the minutes selection field. Can you make sure 5,10,15,20,25,30,35,40,45,50,55,00 are all selected?
Best regards,
Ben
I confirm that all the intervals you've mentioned are selected.
Is your cron job executing every 10mins instead of 5mins or is your cron job not working at all? Can you let your hosting support know again that your cron job isn't working, they should be responsible for making sure your cron job is running.
My cron is not executing at all. The hosting support has sent me several logs (which I don't understand anyway) proving that indeed it is working and sending mails.
Oct 26 11:45:56 alc-shared-relay1 postfix/smtpd[25061]: 908D1782166:
client=glenmorangie.dreamhost.com[69.163.128.11]
Oct 26 11:45:56 alc-shared-relay1 postfix/cleanup[25411]: 908D1782166:
message-id=90f4e047d7d1c221613fad26bd85e007@mailography.com
Oct 26 11:45:56 alc-shared-relay1 postfix/qmgr[8707]: 908D1782166:
from=mailography_user@glenmorangie.dreamhost.com, size=1511, nrcpt=1
(queue active)
Oct 26 11:45:57 alc-shared-relay1 postfix/smtp[25193]: 908D1782166:
to=prabu@mailography.com, relay=ASPMX.L.GOOGLE.com[74.125.129.26]:25,
delay=1.4, delays=0.05/0/0.09/1.2, dsn=2.0.0, status=sent (250 2.0.0 OK
1414349154 s3si8658150pda.246 - gsmtp)
Oct 26 11:45:57 alc-shared-relay1 postfix/qmgr[8707]: 908D1782166:
removed
But the mails are being sent only if I run scheduled.php from the browser.
How do I proceed?
Boom - found out the problem. Dreamhost had recently updated their OS of shared servers to Ubuntu, which doesn't support PHP 5.2 and older. So we had to update the command line to php53. One DH support guy quickly found the issue and suggested I update the version. Once that was done the cron started to run.
Thank you for all the help, Ben.