Cron expression generator · every 15 minutes

Cron job every 15 minutes

The crontab line for a job every 15 minutes is */15 * * * *. It runs 96 times a day, 35,040 times a year. Edit it below to see the next runs in your time zone.

—

Next runs

    Field by field

    How */15 * * * * reads

    The five fields are minute, hour, day of month, month and day of week. A star means every value.

    FieldValueMeaning
    Minute*/15every 15th minute: 0, 15, 30, 45
    Hour*every hour
    Day of month*every day of month
    Month*every month
    Day of week*every day of week

    For example, from Wednesday 6 January 2027 at 10:07 the next runs are: Wed 6 Jan 2027, 10:15; Wed 6 Jan 2027, 10:30; Wed 6 Jan 2027, 10:45; Wed 6 Jan 2027, 11:00; Wed 6 Jan 2027, 11:15.

    When to use it

    What a job every 15 minutes is for

    A quarter of an hour is a common rhythm for reports and checks that people look at during the day: rebuilding a sitemap, sending digest notifications, or checking a supplier’s stock file.

    Mistakes

    Common mistakes

    • To run every 15 minutes only during working hours, limit the hour field: «*/15 9-17 * * 1-5» runs from 09:00 to 17:45, Monday to Friday. The last run is 17:45, not 17:00, because the hour field includes all of hour 17.
    • Runs are at :00, :15, :30 and :45 of the server’s clock, which may not be your time zone.
    systemd

    The same schedule as a systemd timer

    On systems with systemd, a timer can replace the crontab line: OnCalendar=*:0/15. Check it with systemd-analyze calendar "*:0/15", which prints the next run.

    Monitoring

    Know when it didn’t run

    Cron doesn’t tell you when a job stops running. Add a heartbeat monitor with a period of 15 minutes and end the line with a call to its URL, for example */15 * * * * /path/job.sh && curl -fsS -m 10 <ping URL>. If a ping is late by more than the grace time you set, you get an alert, and a call to the URL with /fail reports a failure at once.

    What is the cron expression for a job every 15 minutes?

    */15 * * * *. It runs 96 times a day, 35,040 times a year, on the server’s clock.

    How do I run a job every 15 minutes with systemd instead?

    Create a timer with OnCalendar=*:0/15 next to a service that runs the job, then enable it with systemctl enable --now name.timer. Persistent=true also runs a run that was missed while the machine was off.