# Skill: Schedule recurring cron and run immediately

> Converts an interval to a cron expression, schedules a recurring task via the cron creation tool, confirms to the user, and immediately executes the task without waiting for the first cron fire

- Skill: `lord1egypt/skill-schedule-recurring-cron-and-run-immediately` (Agent Skill)
- Install (CLI): `npx skillmds@latest add lord1egypt/skill-schedule-recurring-cron-and-run-immediately`
- Raw SKILL.md: https://api.skillmd.com/api/skills/lord1egypt/skill-schedule-recurring-cron-and-run-immediately/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Productivity
- License: BSD-3-Clause license
- Author: Lord1Egypt (https://skillmd.com/u/lord1egypt)
- Updated: 2026-09-10
- Page: https://skillmd.com/skills/lord1egypt/skill-schedule-recurring-cron-and-run-immediately

---


${PREAMBLE}

## Action

1. Convert `${INTERVAL}` to a 5-field cron expression. Supported suffixes: `s` → ceil to nearest minute, `m` (minutes), `h` (hours), `d` (days). Examples: `5m` → `*/5 * * * *`, `1h` → `0 * * * *`, `1d` → `0 0 * * *`. If the interval doesn't cleanly divide its unit, round to the nearest clean interval and tell the user what you rounded to.
2. Call ${CRON_CREATE_TOOL_NAME} with:
   - `cron`: the expression from step 1
   - `prompt`: the literal string `${SCHEDULED_PROMPT}` — ${PROMPT_DESCRIPTION}
   - `recurring`: `true`
3. Briefly confirm: ${CONFIRMATION_MESSAGE}
4. **Then immediately run ${IMMEDIATE_RUN_REFERENCE} now**, following the instructions inlined below. Don't wait for the first cron fire.

${INLINE_TASK_INSTRUCTIONS}

${ADDITIONAL_CONTEXT}
