How are the days numbered for cron jobs?

command-line cron

When setting up cron jobs, there is a dow field, and I did not know how the days were numbered. For instance, what is the first day of the week?

Sunday is the first day (0). It turns out that you can use can also use day 3-letter abbreviations.

Relevant StackOverflow answer.

© Amy Tabb 2018 - 2023. All rights reserved. The contents of this site reflect my personal perspectives and not those of any other entity.