3

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 *
6

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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