Skip to content
Unix cron100% Client-Side

Cron Expression for Every 15 Minutes During Business Hours

*/15 9-17 * * *Every 15 minutes, between 09:00 AM and 05:59 PM

The Unix cron expression "*/15 9-17 * * *" runs a task every 15 minutes during business hours. Preview the next run times in your timezone, read the plain-English translation, and copy ready-to-paste snippets for crontab, Node.js, GitHub Actions, and AWS EventBridge.

Live playground

  • Min*/15
  • Hour9-17
  • DOM*
  • Month*
  • DOW*

Every 15 minutes, between 09:00 AM and 05:59 PM

Unix cron · evaluated in UTC

24-hour view

Hover a highlighted hour for precise timestamps. Showing the next 50 executions.

Upcoming runs

Timezone

Runs are simulated in the selected IANA timezone. Auto-detected from your browser on first load.

Field breakdown

How each field of */15 9-17 * * * is interpreted in the Unix cron format.

Field breakdown of */15 9-17 * * *
FieldValueAllowedStatus
Minute*/150-59Valid
Hour9-170-23Valid
Day of Month*1-31Valid
Month*1-12 or JAN-DECValid
Day of Week*0-7 or SUN-SAT (0 and 7 = SUN)Valid

Use “*/15 9-17 * * *” in real code

Copy-paste configurations for the most common schedulers, converted to each platform’s dialect where needed.

import cron from 'node-cron';

cron.schedule('*/15 9-17 * * *', () => {
  console.log('Running task...');
});

Running “*/15 9-17 * * *” in production

What */15 9-17 actually computes: range plus step, independently

The two fields do separate jobs and combine multiplicatively: */15 in the minute field selects :00, :15, :30, :45 of every hour, and 9-17 in the hour field selects the nine hours from 9 AM through 5 PM inclusive — so the page fires 36 times per day, at 09:00 through 17:45. People frequently misread the hour range as exclusive or as 'up to 4:59' — it is neither: 17 is a member of 9-17, and the last fire of the day is at 5:45 PM. If the requirement is to stop at 5 PM sharp, the honest expression is */15 9-16, whose final fire is 16:45.

Who lives on this schedule: internal tooling that only matters while staff can react (build queues, ticket routers, license servers); development and staging environments where every-15-minutes syncs run during work hours and the machine idles overnight; and support-hours automation — anything that would generate pages nobody is around to receive at 3 AM. The overnight gap is a feature, but it must be designed for: state that accumulates between 17:45 and 09:00 arrives as one lump on the first morning fire, so the job should process that backlog bounded and idempotently rather than assuming its usual 15-minute delta.

Whose business hours? The timezone and calendar caveats

9-17 means 9 to 5 wherever the daemon's clock lives — on a UTC server that is 9 AM to 5 PM UTC, which is 4:30 AM to 12:30 PM in India and 5 AM to 1 PM in New York during standard time. Teams that genuinely need office-window behavior pin the schedule to a zone: cronie's CRON_TZ header, Kubernetes 1.27+ timeZone, Quartz's time zone property, or a scheduler that supports per-job zones. There is no DST-proof single line for '9 to 5 local' on a UTC box — the choice is static UTC math with twice-yearly review, or a zone-aware scheduler.

The second caveat is the calendar: 9-17 includes Saturdays, Sundays, and public holidays, because the day-of-week field is still *. A schedule meant for the workweek needs the range duplicated with a day restriction — */15 9-17 * * 1-5 — which is exactly the expression this recipe pairs with business hours. The simulator above honors every field, so pasting the day-restricted form and stepping through a weekend shows the silence you intended.

Frequently asked questions

What does the cron expression "*/15 9-17 * * *" mean?

"*/15 9-17 * * *" is a Unix cron expression that means: Every 15 minutes, between 09:00 AM and 05:59 PM. It contains 5 fields — Minute (*/15), Hour (9-17), Day of Month (*), Month (*), Day of Week (*) — and works in any scheduler that accepts the Unix cron format.

How does "*/15 9-17 * * *" behave in UTC versus local time?

The classic cron daemon interprets every field in the machine's local timezone (from /etc/timezone or the TZ environment variable). If the server runs in UTC the schedule fires in UTC; otherwise shift the hours accordingly. Modern cronie also supports CRON_TZ to pin a single job to UTC.

How do I test "*/15 9-17 * * *" on a Linux server?

Add it with crontab -e, save, and watch the log: /var/log/syslog on Debian/Ubuntu or /var/log/cron on RHEL-family systems shows every firing. For a dry run without touching your crontab, use the simulator at the top of this page — it computes the next runs locally in your browser.

Does 9-17 in cron include 5 PM?

Yes — cron ranges are inclusive on both ends, so 9-17 covers nine full hours and the schedule fires at 09:00, 09:15, …, 17:45, with 17:45 the last fire of the day inside the range. To finish at 5 PM sharp rather than 5:45, write */15 9-16. To add the 5:00 PM fire exactly, use an explicit list: 0,15,30,45 9-16 * * * plus a separate line — or accept that the list form 0,15,30,45 with hours 9-17 gives the same 36 fires as the step form.

How do I restrict this schedule to weekdays only?

Add the day-of-week range: */15 9-17 * * 1-5 fires every 15 minutes from 9 AM to 5:45 PM, Monday through Friday, and stays silent on weekends and holidays (cron has no holiday concept — guard inside the job against a holiday calendar if you need those excluded too). Without the day field, the expression runs 36 fires on Saturday and Sunday as well, which is the most common surprise when this schedule is deployed without reading the final field.

About the “*/15 9-17 * * *” schedule

*/15 9-17 * * * is the Unix cron way to say “Every 15 minutes, between 09:00 AM and 05:59 PM”. The simulator above evaluates it entirely in your browser — the timeline, the next-run table, and the timezone switcher all run client-side, so you can paste production schedules without them ever leaving your machine.

Every page in this directory follows the same structure: a plain-English translation, a per-field breakdown, platform-specific snippets, and a timezone-aware simulator. Move between the related intervals below to compare dialects, and validate one final time in the simulator with your own timezone before shipping.

Adjacent intervals and the same schedules expressed for other platforms.