---
title: "Discussion on \"The generator says weekday 1-5\" | Hashnode"
description: "Discussion on \"The generator says weekday 1-5\". On Vixie cron and cronie, 0 9 * * 1-5 is 09:00 Monday through Friday. Monday is 1 and Friday is 5. The generator's sentence is \"at minute 0, at hour 9, on weekday 1-5\"."
url: "https://hashnode.com/posts/the-generator-says-weekday-1-5/6aeebacd91d39fafdb22fe78"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [The generator says weekday 1-5](https://kepttools.hashnode.dev/the-generator-says-weekday-1-5?utm_source=hashnode&utm_medium=feed)

On Vixie cron and cronie, 0 9 \* \* 1-5 is 09:00 Monday through Friday. Monday is 1 and Friday is 5. The generator's sentence is "at minute 0, at hour 9, on weekday 1-5".

Nov 7 · 2 min read · kepttools.hashnode.dev  
Read the article

-   [#cron](https://hashnode.com/tag/cron)
-   [#linux](https://hashnode.com/tag/linux)
-   [#devops](https://hashnode.com/tag/devops)
-   [#beginners](https://hashnode.com/tag/beginners)
-   [#kepttools](https://hashnode.com/tag/kepttools)

## Written by

[Ameen Usman](https://hashnode.com/@ameenusman)

@ameenusman

  
[View profile](https://hashnode.com/@ameenusman)

Free browser developer tools. Nothing you paste is uploaded.

## Responses 2

Markdown supported · ⌘↵ to post

[Steven Mock](https://hashnode.com/@stevenmock)

[Nov 7](https://hashnode.com/posts/the-generator-says-weekday-1-5/6aeebacd91d39fafdb22fe78/comment/6aeec80551134f1647c83d14)

This is the kind of small, exact post that saves someone a Saturday morning. The trap is exactly the one you name: 0 9 \* \* \* looks like a weekday job until it fires on a Saturday and sends a reminder nobody wanted.

I like the generator sentence being literal, not clever — "at minute 0, at hour 9, on weekday 1-5" leaves nothing to guess. The timezone note is the other one worth checking before you trust any schedule: 09:00 in the daemon's timezone is not always 09:00 where your customers are.

[Ameen Usman](https://hashnode.com/@ameenusman)

[Nov 7](https://hashnode.com/posts/the-generator-says-weekday-1-5/6aeebacd91d39fafdb22fe78/comment/6aeec80551134f1647c83d14#reply-6aeed12f6685843207052e4f)

Thanks, Steven. That Saturday run is the star in the day-of-month: 0 9 \* \* \* is 09:00 every day. 0 9 \* \* 1-5 is the line that leaves Saturday and Sunday out. The generator stays with the numbers: "at minute 0, at hour 9, on weekday 1-5". 09:00 is the daemon's timezone, so it can be a different hour for the people who get the reminder.
