
December 19th, 2004
10:38 AM
Neverside Newbie
Status: Offline!
Cron Jobs
Hey,
I have a script which i need to run every say 24hours, basically the script is in update.php and it just changes a varible in the msyql db, my CPanel is setup to allow cronjobs but its asking for a command line which is has to run, i was wondering what the command would be to run the update.php.
Thanks
Code
___________________
evolvedbb

December 19th, 2004
09:24 PM
This should work ok:
php -q /home/yourserverpath/public_html/folder/update.php
Note a space before and after -q
Also, check the cpanel forums, there are quite a few threads on cron jobs.
dc 
___________________
::M-Dream::
:: Asian Cinema :: Asian Music :: Chinese Astrology :: Free PHP Scripts
:: Asian Cover Scans :: Asian Photo Galleries