Cron Job over SSL (wget & curl)


With wget, you must add the argument –no-check-certificate.
Hitting a PHP script every 15 minutes over SSL:

*/15 * * * * /usr/bin/wget -q -O /dev/null --no-check-certificate


I haven’t tested the curl example, it was referenced from:

For curl, you add -k:

*/15 * * * * /usr/bin/curl -k

Leave a Reply

Your email address will not be published. Required fields are marked *

Go Top