Cron & Scheduled Task Generator
Turn a plain-English schedule into cron syntax, or into a PowerShell command that creates a Windows scheduled task, and preview the next run times.
30 9 * * 1-5At 09:30, on Monday to Friday
| Next runs | UTC |
|---|---|
| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 |
- Minute
- 30
- Hour
- 9
- Day of month
- *
- Month
- *
- Day of week
- 1-5
30 9 * * 1-5 /usr/local/bin/backup.sh
[Unit] Description=Nightly backup [Timer] OnCalendar=Mon..Fri *-*-* 09:30:00 Persistent=true [Install] WantedBy=timers.target
$action = New-ScheduledTaskAction -Execute 'powershell.exe' -Argument '-NoProfile -ExecutionPolicy Bypass -File "C:\Scripts\backup.ps1"' $trigger = New-ScheduledTaskTrigger -Weekly -DaysOfWeek Monday,Tuesday,Wednesday,Thursday,Friday -At '09:30' Register-ScheduledTask -TaskName 'Nightly backup' -Action $action -Trigger $trigger -User 'SYSTEM' -RunLevel Highest
schtasks /Create /TN "Nightly backup" /TR "powershell.exe -NoProfile -File \"C:\Scripts\backup.ps1\"" /SC WEEKLY /D MON,TUE,WED,THU,FRI /ST 09:30 /RU SYSTEM /RL HIGHEST /F
Cron runs in the server’s time zone (usually UTC on cloud VMs). The next-run times above use your browser’s time zone (UTC).
What it does
- Plain English inType “every weekday at 9:30” or paste a cron expression. Either works.
- Explained and previewedA readable description plus the next five run times in your time zone.
- Three platformscrontab line, systemd timer, and Windows Task Scheduler (PowerShell and schtasks).
- ShareableCopy a link to the exact schedule for a review or a ticket.
How to use it
- Describe the schedule or paste a cron expression
Or pick a common schedule from the presets.
- Check the description and next run times
Make sure it runs when you expect, especially around weekends and month ends.
- Add your command
For Windows, give the task a name and the program or .ps1 script to run.
- Copy the crontab line, systemd timer or Windows command
Questions people ask
What do the five cron fields mean?
In order: minute (0–59), hour (0–23), day of month (1–31), month (1–12) and day of week (0–7, where 0 and 7 are Sunday). An asterisk means “every”.
What does */5 mean in cron?
A step: */5 in the minute field means every 5 minutes (0, 5, 10 … 55). 9-17/2 means every 2 hours from 09:00 to 17:00.
What happens if both day of month and day of week are set?
Standard (Vixie) cron runs the job when either one matches. 0 0 13 * 5 runs on the 13th of every month and on every Friday, not only on Friday the 13th.
Which time zone does cron use?
The server’s system time zone, which on most cloud VMs is UTC. Some cron implementations support a CRON_TZ variable to override it per crontab.
Last updated 4 Dec 2026 · More in Sysadmin & Command Builders