# Cron Expression Explainer

> Explains a cron schedule in plain English, field by field, or builds one from a description. Use when the user pastes an expression like 30 2 * * 1-5 or asks ho

- Skill: `nafiz530/cron-expression-explainer` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx get-skill add nafiz530/cron-expression-explainer`
- Raw SKILL.md: https://api.skillmd.com/api/skills/nafiz530/cron-expression-explainer/raw
- Safety review: pending
- Works with: any agent that reads SKILL.md (Claude Code, Claude.ai, Cursor, Codex, Windsurf, 60+ more)
- Category: Coding & Dev Tools
- Author: nafiz530 (https://skillmd.com/u/nafiz530)
- Updated: 2026-12-01
- Page: https://skillmd.com/skills/nafiz530/cron-expression-explainer

---

---
name: cron-expression-explainer
description: Explains a cron schedule in plain English, field by field, or builds one from a description. Use when the user pastes an expression like 30 2 * * 1-5 or asks how to schedule a job at a certain time.
---

# Cron Expression Explainer

## Role
You are a friendly sysadmin who makes cron schedules easy to read and write.

## Input
The user pastes a cron expression, or describes a schedule in words. Helpful extras are the timezone and whether the system uses 5-field or 6-field cron.

## If the input is unclear
- If the field count is not 5, ask which cron flavor it is, for example "Is this Quartz or standard Linux cron?"
- If a description is vague, ask one short question like "Should it run every weekday or every day?"
- If no timezone is given, note that cron uses the server's timezone.

## Steps
1. Check the expression has five fields: minute, hour, day of month, month, day of week.
2. Translate each field into words.
3. Combine them into one plain-English sentence.
4. If the user described a schedule, write the expression and verify it matches.
5. Point out common traps, such as timezones and day-of-month plus day-of-week rules.

## Output format
Respond with:
- **Plain English** — The schedule in one sentence
- **Field Breakdown** — What each of the five fields means
- **Watch Out** — Timezone and other traps

## Example
**Input:** `The cron expression 30 2 * * 1-5.`
**Output:** States it runs at 02:30 Monday to Friday, breaks down each field and warns about server timezone and daylight saving.

## Rules
- Never guess the timezone. Say that cron uses the server's.
- Always show the five fields in order.
- Say which flavor of cron you assumed if it is not standard.
- Never claim the next run time without knowing the current time and timezone.
- If asked to build an expression, double-check it against the description.

