§

Cron expression enter ചെയ്യൂ അല്ലെങ്കിൽ preset തിരഞ്ഞെടുക്കൂ.

ദ്രുത presets:
§

അടുത്ത 10 run times

cron

Human-readable schedule ഇവിടെ ദൃശ്യമാകും...

    §

    Expression ബിൽഡർ

    കേരളത്തിലെ engineers AWS Lambda triggers (EventBridge), Kubernetes CronJobs, GitHub Actions `.github/workflows/*.yml`, Google Cloud Scheduler-ൽ cron syntax hit ചെയ്യുന്നു. IST (UTC+5:30) timezone-ൽ schedule preview ചെയ്‌തില്ലെങ്കിൽ midnight UTC job IST-ൽ 5:30 AM ആകുന്നു — off-by-time DST. EventBridge sixth year field, `?` syntax, Quartz six-field leading seconds — platform-ൽ platform difference surprise ആകും. Parser paste ചെയ്ത്, plain English-ൽ confirm ചെയ്ത്, production ship ചെയ്യൂ.

    Cron expression എന്താണ്?

    ഒരു cron expression ഒരു job scheduler-ഉ ഒരു task fire ചെയ്യേണ്ടത് exactly എന്ന് പറയുന്ന compact scheduling string ആണ്. Format 1975-ൽ Unix V7 cron daemon-ൽ ജനിച്ചത്, അതിൽ നിന്ന് ഏകദേശം മാറ്റമില്ല — ഒരേ five-field grammar ഇന്ന് Kubernetes CronJobs, AWS EventBridge, GitHub Actions workflows, Google Cloud Scheduler, GitLab CI, Jenkins pipelines, ഓരോ Linux distribution-ഉ ship ചെയ്യുന്ന crontab binary-ൽ ഉണ്ട്. ഏകദേശം 13 characters-ൽ ഒരുപാട് meaning — plain English-ലേക്ക് convert ചെയ്യുന്ന parser confident deploy-ഉ 3 AM rollback-ഉ ഇടയ്ക്കുള്ള വ്യത്യാസം ആണ്.

    Cron expression എങ്ങനെ പ്രവർത്തിക്കുന്നു?

    Standard cron expression-ൽ space-separated five fields ഒരു repeating schedule define ചെയ്യുന്നു. Engine current wall clock expression-ഉ നേരെ every minute check ചെയ്ത്, five fields match ആകുമ്പോൾ job fire ചെയ്യുന്നു. Fields, left to right:

    1. Minute (0–59). Hour-ൽ ഏത് minute-ൽ job run ചെയ്യുന്നു. 0 on the hour, 30 half past, */5 every five minutes (00, 05, 10, ...), 15,45 quarter past, quarter to.
    2. Hour (0–23). 24-hour clock-ൽ ദിവസത്തിൽ ഏത് hour. 0 midnight, 9 9 AM, 17 5 PM. Ranges (9-17 business hours), step values (*/2 every other hour) minutes-ഇ ഒരേ.
    3. Day of month (1–31). ഏത് calendar day run ചെയ്യുന്നു. 1 month-ന്റെ 1st, * every day, 1,15 1st, 15th. 31 — 31st day ഇല്ലാത്ത months silently skip ആകുന്നു.
    4. Month (1–12 അല്ലെങ്കിൽ JAN–DEC). ഏത് months run ചെയ്യുന്നു. * every month, 1,7 January, July, 1-3 Q1 only. Three-letter month names case-insensitive.
    5. Day of week (0–7, 0, 7 — Sunday). Specific weekdays-ൽ fire restrict ചെയ്യുന്നു. 1-5 Monday-Friday, 0,6 weekend, MON-FRI most parsers-ൽ work. Day-of-month, day-of-week specific values ആകുമ്പോൾ classic cron either match-ൽ fire ചെയ്യുന്നു (logical OR) — ഇത് ഓരോ തവണ surprise ആകുന്നു.

    Cron expression parser ഉപയോഗിക്കേണ്ടത് എന്തുകൊണ്ട്?

    • Deploy-ന് മുൻപ് silent misread catch ചെയ്യൂ. `0 2 */3 * *` ഓരോ three days-ഉ 2 AM — three minutes-ൽ ഒരിക്കൽ ഇല്ല — ഇവിടെ paste ചെയ്‌താൽ production-ലേക്ക് ship ചെയ്യുന്നതിന് മുൻപ് plain English-ൽ confirm ചെയ്യൂ.
    • Cloud schedulers default UTC-ൽ run ചെയ്യുന്നു. Local zone-ൽ next ten fire times preview ചെയ്‌താൽ DST drift ആരെയും 3 AM-ൽ page ചെയ്യുന്നതിന് മുൻപ് കണ്ടെത്തുന്നു. IST, UTC+5:30 select ചെയ്ത് check ചെയ്യൂ.
    • `@daily`, `@weekly`, `@monthly` shortcuts convenient — ambiguous. Parser underlying five-field form കാണിക്കുന്നു, exactly scheduled ആയത് confirm ചെയ്യൂ.
    • Field-by-field builder ഒരൊറ്റ column-ൽ schedule compose ചെയ്ത്, human description live update ആകുന്നത് കാണൂ — cron man page പത്ത് തവണ re-read ചെയ്യുന്നതിനേക്കാൾ വേഗം.

    Cron expressions ഉപയോഗിക്കുന്നത് എവിടെ?

    ഒരു job clock-ൽ repeat ചെയ്യേണ്ടിടത്ത് cron syntax ഉണ്ടാകും. ഏറ്റവും common surfaces, ഓരോ platform-ഉ famous ആ gotcha-ഉ:

    • Backup schedules. Classic `crontab -e` entry S3-ൽ 2 AM nightly database dump ചെയ്യുന്നു, ഓരോ month-ഉ 1st-ൽ `pg_dump` archive rotate ചെയ്യുന്നു. `0 2 * * * /usr/local/bin/backup.sh` — minute, hour ശരിയായി ക്രമീകരിക്കൂ, stderr redirect ചെയ്യൂ, manual checklist fire-and-forget script ആക്കൂ.
    • GitHub Actions `schedule` triggers. `.github/workflows/*.yml`-ൽ `on.schedule.cron` key standard five-field cron accept ചെയ്യുന്നു, job UTC-ൽ run ചെയ്യുന്നു, runner queue busy ആണെങ്കിൽ GitHub silently skip ചെയ്യും. Common pattern: `cron: '0 9 * * 1-5'` UTC-ൽ Monday-Friday 9 AM digest. IST-ൽ preview ചെയ്‌തല്ലെങ്കിൽ 9 AM IST digest 3:30 AM UTC job ആകും.
    • AWS EventBridge Scheduler. EventBridge cron expressions sixth field year-ന്, day-of-month/day-of-week-ൽ `*`-ഉ പകരം `?` demand ചെയ്യുന്നു — `cron(0 9 ? * MON-FRI *)` classic weekday 9 AM standard cron-ന്റെ EventBridge translation. Scheduled Lambda invocations, ECS task runs, Step Function starts; classic cron syntax-ഉ misalignment CloudFormation deploys-ൽ `ValidationException` errors-ന്റെ number-one source.

    Real cron expression?

    0 9 * * 1-5 — ഓരോ weekday-ഉ 9:00 AM fire ചെയ്യുന്നു. Fields left to right: 0 zeroth minute, 9 9 AM 24-hour clock, * day-of-month every calendar day, * month every month, 1-5 day-of-week Monday-Friday (1 = Monday). Input-ൽ paste ചെയ്‌താൽ parser At 09:00 AM, Monday through Friday confirm ചെയ്ത്, select ചെയ്ത IANA zone-ൽ next ten fire dates render ചെയ്യുന്നു. AWS EventBridge-ൽ ഒരേ intent: cron(0 9 ? * MON-FRI *) — end-ൽ year field, standard cron `*` ഉ പകരം `?`. Quartz expression (six-field leading seconds): 0 0 9 ? * MON-FRI. Three different platforms, three different surface forms, one underlying schedule.

    Cron expressions ഒരൊറ്റ way-ൽ unforgiving ആണ്: typo syntactically valid schedule — wrong time-ൽ fire ചെയ്യുന്നു, code review-ൽ catch ചെയ്യാൻ error ഇല്ല. `0 0 1 * *` read ചെയ്ത്, ഓരോ month-ഉ 1st-ൽ midnight run ചെയ്യുന്നു — January 1st ഇല്ല — practice ആവശ്യമാണ്. Parser ആ practice ten-second sanity check ആക്കുന്നു — expression paste ചെയ്ത്, English read ചെയ്ത്, local zone-ൽ next ten fire times scan ചെയ്ത്, commit message-ൽ cron line actually does what it says — YAML ship ചെയ്യൂ.

    5-field, 6-field cron-ന്റെ വ്യത്യാസം?

    Five-field cron classic Unix grammar, one-minute resolution. Six-field cron leading seconds column ചേർക്കുന്നു sub-minute scheduling-ന് — Quartz, Spring-ന്റെ @Scheduled ഉപയോഗിക്കുന്നു. AWS EventBridge six fields ഉപയോഗിക്കുന്നു — extra column trailing year, seconds ഇല്ല.

    @hourly, @daily, @weekly-ന്റെ അർത്ഥം?

    Vixie-cron nicknames, 1987. @hourly = 0 * * * *, @daily = 0 0 * * *, @weekly = 0 0 * * 0, @monthly = 0 0 1 * *, @yearly = 0 0 1 1 *. @reboot boot-ൽ ഒരൊറ്റ തവണ fire ചെയ്യുന്നു. GitHub Actions, EventBridge ഈ aliases reject ചെയ്യുന്നു.

    Cron-ൽ Sunday day 0 ആണോ day 7 ആണോ?

    Classic Vixie cron-ൽ രണ്ടും — 0, 7 accept ചെയ്യുന്നു, 5-7 Friday-to-Sunday naturally read ആകാൻ. Monday always 1, Saturday always 6. Quartz, AWS EventBridge different convention: 1-7, Sunday 1. Assuming ചെയ്യുന്നതിന് മുൻപ് platform docs check ചെയ്യൂ.

    Cron daylight saving time handle ചെയ്യുന്നത് എങ്ങനെ?

    Engine-ന്റെ timezone-ഉ അനുസരിച്ച്. UTC-ൽ (EventBridge, Kubernetes, GitHub Actions default) DST exist ചെയ്യുന്നില്ല. Local DST zone-ൽ classic Vixie cron spring-forward gap-ൽ jobs skip ചെയ്ത്, fall-back-ൽ twice run ചെയ്യുന്നു; systemd timers exactly once fire ചെയ്യുന്നു.