hai! can anyone tell me about cron??

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
sankarsubramanian
Forum Newbie
Posts: 6
Joined: Sat Dec 23, 2006 1:18 am

hai! can anyone tell me about cron??

Post by sankarsubramanian »

hai! can anyone tell me about cron?? am new to php. very urgent!!
i want to run a cron from server side
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Post 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).
Post Reply