1. Get Started
  2. Welcome

Cron schedule reference

Cron every 6 hours

Copy the expression, preview upcoming runs, or adjust the schedule below. Check compatibility before using it in your scheduler.

At 0 minutes past the hour, every 6 hours

Minute
0
Hour
*/6
Day
*
Month
*
Weekday
*

Common schedules

Next scheduled times

Previewed in UTC. This does not change your scheduler’s timezone.

  1. Thu, 15 Oct 2026

  2. Thu, 15 Oct 2026

  3. Thu, 15 Oct 2026

Build a Unix schedule

Times use your scheduler’s timezone. Steps restart at field boundaries; dates missing from a month are skipped.

Timing and scheduler compatibility

  • Step values apply within their field and restart at its boundary; they are not elapsed-time timers.
  • Preview timezone does not configure your scheduler. Match its timezone; daylight saving changes can skip or repeat local times.

Add this schedule to your crontab

Open your user crontab with crontab -e and add this entry. Replace the command with an absolute path, then confirm it with crontab -l. Cron runs with a smaller environment than your interactive shell.

0 */6 * * * /path/to/your-command

Cron starts commands but does not alert you when a job fails or never runs. Monitor this cron job to detect silent failures. Guarded entries intentionally skip nonmatching dates; configure monitoring for the intended schedule, not the guard’s daily or weekly checks.

Read the cron fields

Unix crontab has five fields: minute (0–59), hour (0–23), day of month (1–31), month (1–12), and day of week (0–7, with 0 and 7 representing Sunday). Seconds-based syntax adds a seconds field (0–59) at the start.

  • * matches any value; , separates values; - defines an inclusive range.
  • / steps through values within a field. */15 matches minutes 0, 15, 30 and 45.
  • When both day fields are restricted, Unix cron matches either day field, not both.

Read the crontab manual or the complete cron job guide for setup and troubleshooting.

Related cron schedules

Browse all cron expression examples
Monitor your cron jobs

Get alerted when your cron jobs fail or miss their schedule via Slack, Telegram, PagerDuty, Email, SMS, and more. Plus uptime monitoring and status pages in one platform.

Free 14-day trial · No credit card required

Join thousands of teams already using OnlineOrNot