Hi,
I have simple question, how do I call my script at some interval time using cron job ? And I use CodeIgniter for the framework.
Thanks,
Supernova
Need great promo codes ? Check on this link.
Hi,
I have simple question, how do I call my script at some interval time using cron job ? And I use CodeIgniter for the framework.
Thanks,
Supernova
Need great promo codes ? Check on this link.
If the script is web accessible, I call it with a curl:
10 * * * * /usr/bin/curl http://www.example.com/script.php >/dev/null 2>&1
Or you can call it directly: /usr/local/bin/php ~/directory/script.php
-Scott
If you are new to crotab job, this will be helpful
http://wiki.dreamhost.com/Crontab
$50 off and 3 free domains with code: [color=#CC0000]DH3[/color] Sign Up NOW or More Codes Here