Ssl – Cron jobs no longer work since installing ssl cert on rackspace cloud server

cronrackspacessl

I recently installed an ssl cert on my rackspace cloud server. Prior to installing it, my cron jobs were running fine.

When I ssh to my server and do a crontab -l,

I can see the jobs are still there:

*/5 * * * * /usr/bin/curl https://mydomain.com/crons/do_things.php

if I directly visit the file in my broswer it still works.

So I'm wondering if there is anything special I need to set up or change to have my cron job running again?

Best Answer

You can tell curl to ignore any ssl warning with -k option. Most likely it is the ssl warning which is stopping it from being executed automatically. The caveat is curl with perform "insecure" SSL connections and transfers.

/usr/bin/curl -k https://mydomain.com/crons/do_things.php

Related Topic