So we know that the fifth column in crontab means day of the week. But what day is considered as 1? What is considered the first day of the week? Is it Sunday or Monday?

  • FYI I think the reason for the downvotes on your question is because it's something that's easily searchable; a search for "crontab day of week" actually turns up this SO question from 2013 that explains it perfectly. – Doktor J Jul 24 '17 at 19:36

Sunday is 0, Monday is 1, etc.


   The time and date fields are:

          field          allowed values
          -----          --------------
          day of week    0-7 (0 or 7 is Sunday, or use names)

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.