cron

cron is a command for coding agents from dmzoneill/redhat-ai-workflow. It costs 0 tokens per session (2,101 once invoked), scanned A, original, Apache-2.0.

A scheduler for running skills automatically at set times or on recurring schedules.

In plain words
What is it for?
Scheduling briefings, reminders, wrap-ups, and other recurring skills, with options to list, add, remove, enable, disable, or run jobs immediately.
Why use it?
It removes the need to start repeated workflows manually and can send notifications about runs.

Command

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 commands/dmzoneill/redhat-ai-workflow/cron
Clone the repo
git clone --depth 1 https://github.com/dmzoneill/redhat-ai-workflow

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/commands/dmzoneill/redhat-ai-workflow/cron.svg)](https://agentmods.dev/commands/dmzoneill/redhat-ai-workflow/cron)
Your own site
<a href="https://agentmods.dev/commands/dmzoneill/redhat-ai-workflow/cron"><img src="https://agentmods.dev/badge/commands/dmzoneill/redhat-ai-workflow/cron.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,101 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 $0.00000 $0.02101
Opus 5 $0.00000 $0.01051
Sonnet 5 $0.00000 $0.00420
Haiku 4.5 $0.00000 $0.00210

Measured 3d ago against content hash fbec5152df07, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 3d 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.

docs/commands/cron.md · 354 lines

How it starts

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

🕐 Cron Scheduler

Schedule skills to run automatically at specific times or based on events.

Overview

The cron scheduler allows you to automate recurring tasks like:

  • Morning briefings (/coffee) at 8:30 AM
  • End of day wrap-ups (/beer) at 5:30 PM
  • Stale PR reminders every few hours
  • Custom workflows on any schedule

Quick Start

Enable the Scheduler

The scheduler is disabled by default. Enable it in config.json:

{
  "schedules": {
    "enabled": true,
    "timezone": "Europe/Dublin"
  }
}

Add a Scheduled Job

Use the cron_add tool:

cron_add("morning_coffee", "coffee", cron="30 8 * * 1-5", notify="slack,desktop")

Or edit config.json directly:

{
  "schedules": {
    "jobs": [
      {
        "name": "morning_coffee",
        "skill": "coffee",
        "cron": "30 8 * * 1-5",
        "notify": ["slack", "desktop"],
        "enabled": true
      }
    ]
  }
}

MCP Tools

Tool Description
cron_list List all scheduled jobs with next run time
cron_add Add a new scheduled job
cron_remove Remove a scheduled job
cron_enable Enable or disable a job
cron_run_now Manually trigger a job immediately
cron_status Show scheduler status and recent executions
cron_notifications View recent notification history

Cron Syntax

Standard 5-field cron format:

┌───────────── minute (0-59)
│ ┌───────────── hour (0-23)
│ │ ┌───────────── day of month (1-31)
│ │ │ ┌───────────── month (1-12)
│ │ │ │ ┌───────────── day of week (0-6, Sun=0)
│ │ │ │ │
* * * * *

Examples

Expression Description
30 8 * * 1-5 8:30 AM on weekdays
0 17 * * 1-5 5:00 PM on weekdays
0 9 * * 1 9:00 AM every Monday
*/30 * * * * Every 30 minutes
0 */4 * * * Every 4 hours
0 0 1 * * Midnight on the 1st of each month

Job Types

Cron Jobs (Time-Based)

Run at specific times:

Read the full file on GitHub · 354 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. 3d ago First seen · 354 lines · 0 tokens per session scan A fbec5152df07

Subscribe to this mod's changes

cron is a command published in the GitHub repository dmzoneill/redhat-ai-workflow (5 stars, last pushed today), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 2,101 tokens. 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-31.