Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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


Rahul Kumar

share|improve this question

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.

This is essentially a duplicate of:… – 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

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.

share|improve this answer