hai! can anyone tell me about cron?? am new to php. very urgent!!
i want to run a cron from server side
hai! can anyone tell me about cron??
Moderator: General Moderators
-
sankarsubramanian
- Forum Newbie
- Posts: 6
- Joined: Sat Dec 23, 2006 1:18 am
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).