Free tools

Cron Expression & Crontab Generator

Paste a cron expression to check what it means in plain English - or build one with the crontab generator dropdowns below. Either way you get the next five run times, so you know the schedule does what you think before it goes in a crontab.

Next 5 runs (your local time):

    Or build it

    Run at :
    Common:

    Ready for your crontab

    The && curl tail is a heartbeat ping - it tells a monitor the job ran, so you find out when it silently stops. Delete it if you just want the schedule.

    Cron syntax in thirty seconds

    Five fields, space-separated, left to right: minute (0-59), hour (0-23), day of month (1-31), month (1-12), day of week (0-7, where both 0 and 7 are Sunday). Each field takes a number, a range (1-5), a list (0,30), a step (*/5), or * for "every". When both day-of-month and day-of-week are restricted, standard cron runs when either matches - the classic surprise in expressions like 0 0 13 * 5, which fires on the 13th and every Friday.

    The part cron doesn't do

    Cron is a scheduler, not a supervisor. It will start your job on time forever - and say nothing when the job exits non-zero, hangs, or stops producing backups because a path changed. Every team eventually finds a cron job that has been failing for weeks. The fix is the one-line heartbeat pattern shown above: the job pings a URL on success, and a monitor alerts when the ping stops arriving - which catches every failure mode, including the ones where cron itself never ran. The heartbeat guide covers grace periods and exit-code pitfalls.

    Crontab questions

    How do I check a crontab expression?

    Paste it into the crontab checker above. It explains the schedule in plain English and lists the next five run times, so a wrong field shows up before the job does. crontab -l lists the jobs installed for the current user.

    How do I run a cron job every 5 minutes?

    Use */5 * * * * followed by the command. The */5 in the minute field means every fifth minute (0, 5, 10 and so on), and the four asterisks mean every hour, day, month and weekday.

    Why did my cron job not run?

    The usual causes: cron runs with a minimal PATH, so commands need full paths; a % in the command line must be escaped as \%; the server clock or timezone is not what you assumed; or the job ran and failed with output nobody reads. A heartbeat monitor catches all of these, because it alerts when the success ping stops arriving.

    Know when this job stops running

    A schedule is a promise; a heartbeat checks it's kept. AlertKick heartbeat monitors are free: your job pings a URL on success, and you get alerted the moment a ping goes missing - before anyone needs the backup that isn't there.

    Monitor my cron jobs - free