0

Possible Duplicate:
Can I run a cron job more frequently than every minute?

Hi , Did Anyone Answer me that

I want to schedule a cron job which will run at every second, can we schedule it

Thanks

Rahul Kumar

marked as duplicate by Dennis Williamson, womble, Zoredache, John Gardeniers, Mark Henderson Jan 6 '10 at 4:59

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

7

No, you can't schedule a cron job every second. If you need that degree of repetition, just make it a daemon with a very small sleep. Chances are your job will take longer than a second to run much of the time, so you have to decide whether you really want to start the job every second, or execute the job repeatedly with a one second delay between runs.