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

I want to run a command daily on an Ubuntu Linux box @ 9:15PM. Is this the correct entry for my crontab?

15 23 * * * <<command>>
share|improve this question
up vote 4 down vote accepted

The syntax is, the hours not

minute hour dayofmonth month dayofweek     command

Your command will run every day at 23:15 (11:15pm)

9pm is 21 (in 24h writing 12 + 9 = 21)

15 21 * * *  command
share|improve this answer
    
Oops... Math error, thanks! – Trent Scott May 2 '12 at 17:07

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.