டெவலப்பர் கருவிகள்
Cron வெளிப்பாடு விளக்கம்
0 9 * * 1-5 போன்ற cron அட்டவணையை ஒட்டி, அதன் பொருளை எளிய ஆங்கிலத்தில், அடுத்த 10 இயக்க நேரங்களை IST, UTC அல்லது உங்கள் நேரத்தில், ஒவ்வொரு பகுதியின் விளக்கத்துடன் பார்க்கவும்.
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 "run the backup every day at 2 AM".
What you can do with the Cron Expression Explainer
- Plain English: "At 9:00 AM, Monday to Friday".
- அடுத்த 10 இயக்கங்கள்: In IST, UTC or your own time.
- Ready schedules: Tap one and change it.
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).
Related tools
நிஜ வாழ்க்கை உதாரணங்கள்
A daily report at 6:30 PM
Type 30 18 * * 1-5. The tool says "At 6:30 PM, Monday to Friday." and lists the next ten runs. Pick India time (IST) or UTC to see when the server will really run it.
Is this backup running too often?
Paste */15 9-17 * * 1-5. It reads "Every 15 minutes from 9:00 AM to 5:45 PM, Monday to Friday." That is 36 runs a day, which may be more than you wanted.
Server time is not India time
Most servers use UTC. 0 2 * * * runs at 2:00 AM UTC, which is 7:30 AM in India. Switch Show times in between UTC and India (IST) to see the next runs both ways, so the job does not surprise you.
Frequently Asked Questions
How do I run a job every 5 minutes?
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.
How do I run a job on weekdays only?
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.
How do I run something on the last day of the month?
Standard cron has no "last day". 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 * * [ "$(date -d tomorrow +%d)" = "01" ] && job.sh. Quartz schedules allow L, but that is not standard cron.
Why did my job not run at the time I expected?
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.
Is what I paste sent anywhere?
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.
Is the Cron Expression Explainer free?
Yes. There is no sign-up, no limit and nothing to install. It also works offline once the page has loaded.
What does * * * * * mean?
Every minute of every hour of every day. Each * means "every" for that part. It is rarely what you want for a real job; start from one of the ready buttons instead.
What is 0 0 * * * in India time?
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).
How do I write a GitHub Actions schedule?
In the workflow file, add on: schedule: - cron: "30 3 * * 1-5" (with quotes). GitHub always uses UTC, so that example runs at 9 AM IST on weekdays. The shortest interval is every 5 minutes.
Does this support seconds?
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.
More developer tools
- JSON வடிவமைப்பி & சரிபார்ப்பி: Format, validate and minify JSON, spot syntax errors and turn messy JSON into readable, indented text or a compact single line.
- UUID ஜெனரேட்டர்: Generate random version-4 UUIDs (GUIDs) for databases, APIs and software development.
- நிற வடிவ மாற்றி: Convert colours between HEX, RGB and HSL formats in either direction, with a live colour preview.
- எண் அடிமான மாற்றி: Convert numbers between binary, octal, decimal and hexadecimal, or to any base up to 36, with a bit view.
- Unix நேரமுத்திரை மாற்றி: Convert a Unix timestamp to a readable date and time, or a date back to Unix time, in your time zone or UTC.
- CSS அலகு மாற்றி: Convert px to rem, em, pt and percent with your own base font size.