Cron every 2 hours

Runs at 00:00, 02:00, 04:00 and every even hour after that.

Every 2 hours, on the hour.

Next runs

What each field means

FieldValueMeaning
Minute00
Hour*/2every 2nd hour
Day of month*every day
Month*every month
Day of week*any day of the week

Know when it doesn’t run

Cron never tells you when a job fails to start or dies halfway. Add a ping at the end of the line: if Heartcron doesn’t hear it on schedule, you get an alert in Telegram, Slack, Discord or email.

0 */2 * * * /path/to/job.sh && curl -fsS -m 10 --retry 3 https://ping.heartcron.com/<check-id> > /dev/null

Monitor this job for free How pings work

Common schedules