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

link|improve this question
2  
This is essentially a duplicate of: serverfault.com/questions/49082/… – Dennis Williamson Jan 5 '10 at 22:38
I knew there was a duplicate somewhere, I just couldn't find it. – womble Jan 6 '10 at 0:11
It was under Related on the lower right. – Dennis Williamson Jan 6 '10 at 6:17
Hmm, wasn't for me. – womble Jan 9 '10 at 7:24
feedback

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

This question covers exactly the same ground as earlier questions on this topic; its answers may be merged with another identical question. See the FAQ for guidance on how to improve it.

1 Answer

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.

link|improve this answer
feedback