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