{"copy":{"explain":"A cron expression has five parts separated by spaces: minute (0-59), hour (0-23), day of the month (1-31), month (1-12) and day of the week (0-6, Sunday is 0). Each part can be * (every), a number, a list (1,15), a range (1-5), a step (*/15 means every 15) or a name like MON or JAN. The tool reads each part into the set of values it allows, writes a sentence from them, and then walks forward from now, day by day, to find the next times when all five parts match. As in standard Linux cron, if both the day of the month and the day of the week are set, the job runs when either one matches.","example":"0 9 * * 1-5 → &quot;At 9:00 AM, Monday to Friday&quot;. */15 * * * * → &quot;Every 15 minutes&quot;. 30 3 * * * in UTC runs at 9:00 AM in India, because IST is 5 hours 30 minutes ahead of UTC.","intro":"Paste a cron schedule like 0 9 * * 1-5 and see what it means in plain English, the next 10 run times in IST, UTC or your own time, and each part explained.","sections":[["What is cron?","Cron is the scheduler built into Linux and macOS, and its five-part schedule format is used almost everywhere jobs run on a timetable: crontab on servers, GitHub Actions, GitLab CI, Kubernetes CronJobs, AWS EventBridge, Google Cloud Scheduler, Cloudflare Workers cron triggers, Vercel and WordPress plugins. A line like 0 2 * * * backup.sh means &quot;run the backup every day at 2 AM&quot;."],["Reading the five parts","Read the parts from left to right: minute, hour, day of month, month, day of week. 30 18 * * 5 means minute 30, hour 18 (6 PM), any day, any month, on Friday: every Friday at 6:30 PM. 0 */6 * * * means minute 0 of every 6th hour: at midnight, 6 AM, noon and 6 PM. 0 0 1 * * means midnight on the 1st of every month. Use the ready buttons to start from a common schedule."],["Time zones and IST","Most cloud services run cron in UTC, not India time. India Standard Time is UTC + 5:30 and has no daylight saving, so to run at 9 AM IST you write the UTC time, 3:30 AM: 30 3 * * *. Switch the time zone buttons to see the same schedule in IST, UTC or your device's own zone. Linux servers use the server's time zone unless the crontab sets CRON_TZ or TZ."],["Special strings","@hourly is the same as 0 * * * *, @daily and @midnight as 0 0 * * *, @weekly as 0 0 * * 0, @monthly as 0 0 1 * * and @yearly as 0 0 1 1 *. @reboot runs once when the machine starts. Quartz and Spring schedules add a seconds field at the start and allow L (last day), W (weekday) and # (like the 2nd Monday): these are not standard cron, so remove the seconds field to check them here."],["Ready schedules to copy","Every 5 minutes: */5 * * * *. Every hour: 0 * * * *. Every day at 9 AM: 0 9 * * *. Weekdays at 9 AM: 0 9 * * 1-5. Every Sunday at midnight: 0 0 * * 0. 1st of every month at 10 AM: 0 10 1 * *. Every 6 hours: 0 */6 * * *. Twice a day, 9 AM and 9 PM: 0 9,21 * * *. Every quarter: 0 0 1 1,4,7,10 *."],["IST to UTC for cron","Subtract 5 hours 30 minutes. 6 AM IST = 0:30 UTC (30 0 * * *). 9 AM IST = 3:30 UTC (30 3 * * *). Noon IST = 6:30 UTC (30 6 * * *). 6 PM IST = 12:30 UTC (30 12 * * *). Midnight IST = 18:30 UTC the day before (30 18 * * *, and shift the day of week back by one)."]],"faqs":[{"q":"How do I run a job every 5 minutes?","a":"Use */5 * * * *. The */5 in the minute part means every 5th minute: 0, 5, 10 and so on. For every 30 minutes use */30 * * * * or 0,30 * * * *. Note that GitHub Actions does not run schedules more often than every 5 minutes, and can delay them when busy."},{"q":"How do I run a job on weekdays only?","a":"Put 1-5 in the last part (Monday to Friday): 0 9 * * 1-5 runs at 9 AM on weekdays. For weekends use 0,6 or SAT,SUN. Sunday is 0, and most systems also accept 7 for Sunday."},{"q":"How do I run something on the last day of the month?","a":"Standard cron has no &quot;last day&quot;. A common trick is to run on days 28 to 31 and check in the script whether tomorrow is the 1st: 0 22 28-31 * * [ &quot;$(date -d tomorrow +%d)&quot; = &quot;01&quot; ] &amp;&amp; job.sh. Quartz schedules allow L, but that is not standard cron."},{"q":"Why did my job not run at the time I expected?","a":"Usually the time zone: the server runs in UTC while you are thinking in IST, so the job runs 5 hours 30 minutes off. Check the next run times here in UTC. Other causes are a wrong day of week (Sunday is 0), both day fields set (then either one triggers it), or the script failing because cron has a smaller PATH than your terminal."},{"q":"Is what I paste sent anywhere?","a":"No. The schedule is worked out on your device. Everything runs in your browser on your own phone or computer, and nothing is sent to our servers or saved."},{"q":"Is the Cron Expression Explainer free?","a":"Yes. There is no sign-up, no limit and nothing to install. It also works offline once the page has loaded."}]},"feat":[["Plain English","\"At 9:00 AM, Monday to Friday\"."],["Next 10 runs","In IST, UTC or your own time."],["Ready schedules","Tap one and change it."]],"faqx":[{"q":"What does * * * * * mean?","a":"Every minute of every hour of every day. Each * means &quot;every&quot; for that part. It is rarely what you want for a real job; start from one of the ready buttons instead."},{"q":"What is 0 0 * * * in India time?","a":"Midnight (12:00 AM) every day in the server's time zone. If the server runs in UTC, that is 5:30 AM in India. To run at midnight IST on a UTC server, use 30 18 * * * (6:30 PM UTC the day before)."},{"q":"How do I write a GitHub Actions schedule?","a":"In the workflow file, add on: schedule: - cron: &quot;30 3 * * 1-5&quot; (with quotes). GitHub always uses UTC, so that example runs at 9 AM IST on weekdays. The shortest interval is every 5 minutes."},{"q":"Does this support seconds?","a":"Standard cron has no seconds field. Quartz, Spring and some Node.js libraries add one at the start (6 parts). Remove the first part to check the rest here; the seconds value then applies inside each minute shown."}]}