Cron every 6 months

Runs at midnight on January 1 and July 1. Twice-a-year jobs, like rotating keys or archiving old data, are easy to forget, so it's worth monitoring them.

At 00:00 on the 1st of the month every 6 months (January, July).

Next runs

What each field means

FieldValueMeaning
Minute00
Hour00
Day of month11
Month*/6every 6th 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 0 1 */6 * /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