cron

cron is a skill for Claude Code from arbazkhan971/godmode. It costs 33 tokens per session (2,690 once invoked), scanned A, original, MIT.

Guidance for scheduling tasks to run automatically at set times or repeating intervals. It covers cron jobs, which are scheduled commands, as well as background-job schedulers used by common programming frameworks.

In plain words
What is it for?
Use it for recurring reports, cleanup, data synchronisation, alerts, billing, health checks, and other periodic background tasks.
Why use it?
It helps replace fragile timer loops with scheduled work that can account for timing, time zones, overlapping runs, multiple application instances, rate limits, and priorities.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the godmode plugin — 132 skills, 1 command, 7 agents, 3 MCP servers shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/arbazkhan971/godmode/cron
Any agent
npx skills add arbazkhan971/godmode --skill cron
Clone the repo
git clone --depth 1 https://github.com/arbazkhan971/godmode

Made for: Claude Code.

Or install godmode, the plugin that ships this one along with the rest of its 132 skills, 1 command, 7 agents, 3 MCP servers.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cron

README.md
[![agentmods](https://agentmods.dev/badge/skills/arbazkhan971/godmode/cron.svg)](https://agentmods.dev/skills/arbazkhan971/godmode/cron)
Your own site
<a href="https://agentmods.dev/skills/arbazkhan971/godmode/cron"><img src="https://agentmods.dev/badge/skills/arbazkhan971/godmode/cron.svg" alt="Measured on agentmods" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,690 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00033 $0.02690
Opus 5 $0.00016 $0.01345
Sonnet 5 $0.00007 $0.00538
Haiku 4.5 $0.00003 $0.00269

Measured 6d ago against content hash 67b9cdc148c4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

cron scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/cron/SKILL.md · 314 lines

How it starts

The opening of the file, as written. The whole thing — 314 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Cron — Scheduled Tasks & Recurring Job Orchestration

Activate When

  • User invokes /godmode:cron
  • User says "schedule a job", "cron job", "recurring task", "run every hour"
  • User says "background scheduler", "periodic task", "timed execution"
  • User says "node-cron", "BullMQ repeat", "Celery beat", "Sidekiq-cron", "APScheduler", "Hangfire", "Quartz"
  • User needs a task to fire on a schedule (daily reports, cleanup, syncs, heartbeats)
  • User asks about cron syntax, timezone handling, or overlap protection
  • User needs distributed scheduling across multiple instances
  • User needs rate-limited or priority-aware recurring execution
  • Godmode orchestrator detects hardcoded setInterval or setTimeout loops that need conversion to proper scheduled jobs

Workflow

Step 1: Scheduling Requirements Assessment

Evaluate what needs to run, how often, and under what constraints:

SCHEDULING REQUIREMENTS ASSESSMENT:
|  Dimension            | Value                             |
|  Task type            | <cleanup | report | sync | alert |
|                       |  billing | digest | health check> |
|  Frequency            | <seconds | minutes | hourly |     |
Cron Expression Quick Reference
CRON EXPRESSION SYNTAX:
|  Field        | Values          | Special chars           |
|  Minute       | 0-59            | * , - /                 |
|  Hour         | 0-23            | * , - /                 |
|  Day of month | 1-31            | * , - / ? L W           |

Common patterns:
    and 7 = Sunday) — check your library
Scheduler Technology Selection Matrix
SCHEDULER TECHNOLOGY SELECTION:
| Technology       | Language    | Backend  | Distributed| Persistence| Ops cost |
|--|--|--|--|--|--|
| node-cron        | Node.js     | In-proc  | No         | None      | Minimal  |
|                  | Simple cron | (memory) | (single)   | (restart  |          |
|                  | schedules   |          |            | loses)    |          |
|                  |             |          |            |           |          |
| BullMQ           | Node.js     | Redis    | Yes        | Redis     | Low      |
  ...

Read the full file on GitHub · 314 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 314 lines · 33 tokens per session scan A 67b9cdc148c4

Subscribe to this mod's changes

cron is a skill published in the GitHub repository arbazkhan971/godmode (26 stars, last pushed 9d ago), licensed MIT. It adds 33 tokens to every session and 2,690 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.