Coral

Cron expression generator

Type a schedule in cron or plain English. See what it means and when it really runs, on a server or in Claude Code.

Runs in your browser. Nothing is sent anywhere.

“At 09:00, Monday through Friday.”

 

1-5 = Monday through Friday. 0 or 7 is Sunday.

Runs on

Next runs

     

    MonTueWedThuFriSatSun

    Filled and bold = runs. Ring = today.

    Copy it

    # At 09:00, Monday through Friday. Uses the server's clock.
    0 9 * * 1-5  /path/to/your/script.sh >> /tmp/job.log 2>&1

    Run crontab -e and paste the line. Use full paths: cron has a short PATH.

    Coming soon

    Coral Cron

    We’ll call your URL or start your agent on this schedule, and tell you when it fails.

    Cheat sheet

    *
    any value
    ,
    list: 1,15
    -
    range: 1-5
    /
    step: */15
    @daily
    once a day at 00:00
    @reboot
    at startup (crontab only)
    minute
    0-59
    hour
    0-23
    day
    1-31
    month
    1-12 or JAN-DEC
    weekday
    0-6 or SUN-SAT, 7 = Sunday too

    Common schedules

    CronRuns
    * * * * *Every minute.
    */5 * * * *Every 5 minutes.
    */15 * * * *Every 15 minutes.
    0 * * * *Every hour, on the hour.
    0 */6 * * *Every 6 hours at :00 (00:00, 06:00, 12:00, 18:00).
    0 0 * * *At 00:00.
    0 9 * * 1-5At 09:00, Monday through Friday.
    */15 9-17 * * 1-5Every 15 minutes from 09:00 to 17:59, Monday through Friday.
    0 0 * * 0At 00:00, on Sunday.
    0 0 1 * *At 00:00, on the 1st.
    0 0 1 1 *At 00:00, on the 1st, in January.
    30 2 * * 6At 02:30, on Saturday.

    Questions

    What is a cron expression?

    Five fields: minute, hour, day of month, month and weekday. The job runs when all of them match. 0 9 * * 1-5 runs at 09:00 on weekdays.

    How do I run a cron job every 5 minutes?

    */5 * * * *. The / means “every”, so */15 in the hour field is every 15 hours counted from midnight (00:00 and 15:00), not every 15 hours from now.

    Why didn’t my cron job run?

    The server clock is often UTC, cron has a short PATH, or the machine was asleep. If you set both day and weekday, either one matching is enough, which surprises people.

    How do I schedule Claude Code?

    Three ways: /loop in a session (stops after 7 days and can start up to 30 minutes late), Desktop tasks (the app open and the computer awake) and cloud tasks (at most once an hour). A cloud task reads plain cron as UTC unless it starts with CRON_TZ=. Pick one under Runs on to see its real times.

    Why did my Claude Code /loop stop after a week?

    Recurring /loop tasks expire 7 days after you create them: they run one last time, then delete themselves. Set it up again, or use a Desktop task or a cloud task for a schedule that lasts.

    Can a job run while my laptop is closed?

    Not on the laptop: cron and Claude Desktop tasks skip while it sleeps, and launchd runs the job once on wake. Use a server, a Claude cloud task or GitHub Actions.

    Checked against crontab(5), launchd.plist(5), Claude Code’s scheduled tasks and Desktop tasks docs, and the GitHub Actions, AWS EventBridge Scheduler, Kubernetes and Vercel references, November 2026.

    Coral isn’t affiliated with Anthropic, OpenAI, GitHub, AWS or Vercel.