Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

If I schedule a cron job to run at midnight on a specific day, will the job run at the beginning of the day, or at the end of the day? For example:

# Runs at midnight on 20th February:
0 0 20 2 *
share|improve this question

1 Answer 1

up vote 4 down vote accepted

The answer is: at the beginning of the day, as 0:00 is the first minute of the day and 23:59 is the last.

share|improve this answer

Your Answer


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.