Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

up vote 3 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.