Parse and understand cron expressions
* * * * *│ │ │ │ ││ │ │ │ └─ Day of Week (0-6, Sunday=0)│ │ │ └─── Month (1-12)│ │ └───── Day of Month (1-31)│ └─────── Hour (0-23)└───────── Minute (0-59)0 0 * * * - Daily at midnight0 */6 * * * - Every 6 hours0 9 * * 1 - Every Monday at 9 AM*/15 * * * * - Every 15 minutes
minute hour day-of-month month day-of-week). Examples: 0 9 * * 1 (every Monday at 9 AM), */15 * * * * (every 15 minutes).This parser implements a complete cron field evaluator supporting wildcards (*), step values (*/n), ranges (1-5), and lists (1,3,5). The "Next 5 Executions" feature iterates forward minute-by-minute from the current time, testing each candidate against all five cron fields using modular arithmetic for step values and inclusive range checking. This brute-force approach guarantees correctness for complex expressions combining multiple features (e.g., 0 9-17 * * 1-5 for weekday business hours).
Real-world use cases:
This tool is part of the FAK LAB ecosystem, founded by Faizan Ahmad Khan Khichi. Cron parsing happens entirely in your browser — no expressions are sent to any server. Your infrastructure scheduling details (which could reveal operational patterns) remain completely private. No API calls, no logging, no data transmission of any kind.
From left to right: Minute (0-59), Hour (0-23), Day of Month (1-31), Month (1-12), Day of Week (0-6, where 0 = Sunday). Each field can use * (any), */n (every n), ranges (1-5), or lists (1,3,5). The expression 30 9 1 * * means "at 9:30 AM on the 1st of every month."
Standard Unix cron uses 5 fields (minute through day-of-week). Some systems add a 6th field for seconds (like Quartz scheduler in Java) or a year field. This parser uses the standard 5-field format used by Linux crontab, Kubernetes, GitHub Actions, Cloudflare Workers, and most modern scheduling systems.
This tool calculates next executions using your browser's local time. Server crontabs typically run in the server's timezone (often UTC). If your server is in UTC but you're browsing from UTC+5, the displayed times will differ by 5 hours. Always consider timezone alignment when validating production schedules.