Page 1 of 1

hai! can anyone tell me about cron??

Posted: Mon Dec 25, 2006 10:38 pm
by sankarsubramanian
hai! can anyone tell me about cron?? am new to php. very urgent!!
i want to run a cron from server side

Posted: Tue Dec 26, 2006 3:07 am
by onion2k
Cron is a unix daemon that runs tasks at scheduled times. It's nothing to do with PHP, but you can use it to launch a PHP script (say, nightly or hourly or whatever). Personally however I wouldn't. PHP is overkill for the sort of scripts that run like that. A shell script or a Perl script is (almost) always a better option as they'll use less resources and are easier to manage on the command line (setting time outs, that sort of thing).