Friday, April 12, 2013

How to create a cron job with URL


Normally we have to give some commands at the end to execute cron jobs in a particular time. Today i need to execute the result of the url in cron job

01 04 * * * wget -O - -q -t 1 http://IP/Apps/Adminemail/admin_report

This helps.

If the site is SSL

wget -O - -q -t 1 https://domain.com/report --no-check-certificate

No comments:

Post a Comment