Monday, August 12, 2013

CRON JOB for Executing Remote PHP File


In Linux server

root account login

# crontab -e

type : curl --silent http://www.example.com/schedulerTest/add.php

save - :w

quit - :q

# crontab -l

If cron service has not start, use the following command:

/sbin/service crond start

No comments: