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
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 | |||||||||||
feedback
|
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.
|
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. | |||
|
feedback
|