Cron on weekends (Saturday and Sunday at 10 AM)
Weekends at 10 AM in cron is 0 10 * * 6,0 (Unix) or 0 0 10 ? * SAT,SUN (Quartz, Spring); this page lists the next runs, calculated in your browser.
0 10 * * 6,0
0 0 10 ? * SAT,SUN
cron(0 10 ? * SAT,SUN *)
Read by our parser as: At 10:00 AM, Saturday and Sunday. Open in the cron checker
Next 10 runs
Calculating in your browser...
- 1
- 2
- 3
At a glance
- Accepts
- Nothing to enter - the schedule is preset on the page
- Outputs
- The expression in Unix, Quartz/Spring and AWS form, plus its next 10 run times
- Where it runs
- Entirely in your browser, on your device
- What leaves your device
- Nothing - what you type stays in this tab
- Limits
- Run times use your browser's timezone or UTC; real schedulers can start a run late
- Account
- Not required - there is no sign-up
- Price
- Free, with no watermark and no usage cap
- Made by
- Visrut
What it means
0 10 * * 6,0 runs at 10:00 on Saturday (6) and Sunday (0). It has to be a list, not a range: Saturday is the end of the week and Sunday the start, so 6-0 runs backwards and Unix cron rejects it. 6,7 also works, since 7 is Sunday too.
When this is the right schedule
Use it when the work should happen when office systems are quiet: weekly maintenance windows, long reindexes, weekend-only promotions.
When to pick something else
Look elsewhere when you want once a week. Saturday and Sunday is two runs; for one weekly run see the once-a-week page.
Things to watch
Why not 6-0?
crontab(5) says the first number of a range must be less than or equal to the second. Quartz and AWS do accept wrapping ranges such as SAT-SUN in some fields, but a list is clear in every dialect.
Different numbers per dialect
Saturday and Sunday are 6,0 (or 6,7) in Unix and Spring, but 7,1 in Quartz and AWS. Names (SAT,SUN) work in all of them.
Weekend maintenance and DST
In Europe and the US, the DST switches happen on a Sunday morning. A weekend job at 1 AM to 3 AM on Sunday is the one most likely to be skipped or doubled; 10 AM is safe.
Frequently asked questions
How do I run a cron job only on Saturday?
0 10 * * 6 in Unix cron or 0 0 10 ? * SAT in Quartz and Spring.
Does cron accept SAT,SUN?
Yes. Three-letter names are allowed in the day-of-week field in Unix cron, Quartz, Spring and AWS.