When to use it
Every 6 hours suits backups of busy databases, price and stock syncs, and anything that should run a few times a day without anyone waiting on it.
Cron · Every 6 hours
0 */6 * * *Runs at 00:00, 06:00, 12:00 and 18:00, 4 times a day.
0minute 0*/6every 6th hour: 0, 6, 12, 18*every day*every month*every day of the weekBoth day fields are set, so it runs on a day that matches either one, not both.
Cron uses the server's time zone. Most servers run in UTC; check with date on the server.
Every 6 hours suits backups of busy databases, price and stock syncs, and anything that should run a few times a day without anyone waiting on it.
0 0,6,12,18 * * *: the same, written out.30 1-23/6 * * *: at 01:30, 07:30, 13:30 and 19:30.* */6 * * * runs every minute during hours 0, 6, 12 and 18 (60 times each). The minute field must be a number.*), standard cron runs when either matches, not both. 0 0 13 * 5 runs on every 13th and every Friday.&& before the ping so a failed job doesn't ping.PATH and no shell profile. Use full paths in the command.on: schedule): Same 5-field syntax, in UTC by default. The shortest interval is 5 minutes, and runs can start late under load. GitHub docs.spec.timeZone (stable since v1.27), not with CRON_TZ in the schedule. Kubernetes docs0 */6 * * * /path/to/your-job.sh && curl -fsS -m 10 https://<your heartbeat URL> > /dev/nullThis job runs less than once a day. 12happy heartbeats cover jobs that run at least daily.
Heartbeat monitors are on Pro ($15 a month, or $12 billed yearly) and Agency. Free covers website, keyword, ping and port checks.
0 */6 * * *.
The minute field is *. Set it to 0.
0 3-23/6 * * * runs at 03:00, 09:00, 15:00 and 21:00.