Skip to content
Back to skills

Cron

ASecurity

Schedule reminders, recurring checks and conditional alerts.

  • 129 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added August 31, 2026
ai-agentsgoexpressgit

Security analysis

A100/100

Scanned November 30, 2026

npx -y skills add flagdizero/jenny-android-ai-agent --skill cron --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cron?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cron
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/flagdizero-cron/badge)](https://www.skillsdirectory.com/skills/flagdizero-cron)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cron
description: Schedule reminders, recurring checks and conditional alerts.
locked: true
---

# Cron

Use the `cron` tool to schedule work. Every scheduled job runs a full agent turn.

## One-time or recurring

There are two kinds of timed job (a third, `zone`, fires on arrival at a place: below):

- **One-time**: `date`, the day (`"YYYY-MM-DD"`) or just the month (`"YYYY-MM"`,
  "around March"), and `time` (`"HH:MM"`) only when the user said a time or a delay
  ("at 6pm", "in 20 minutes": compute the day and the time from the current time).
  Without `time` a day rings at 9:00 and a month at 9:00 on the 1st, and the user sees
  them as a day or a month: never pick an hour the user did not give.
  It disappears once it has fired.
- **Recurring**: `every_seconds` or `cron_expr`. It is a `reminder` or a `monitor`
  (below), and it may carry a `condition` on a mini app's value: the app is read in
  code at each run, at no cost, and the job speaks only when the condition has just
  become true (once, until it goes back to false).

Each run costs a full turn: pick the widest interval that does the job.

## Pick the mode first

`mode` is a real parameter of `action="add"`. It decides whether the job is
**allowed to speak on its own**, and it is the single most important choice here —
getting it wrong is what turns a check into chat spam.

| `mode` | Speaks | Session | Use when |
|---|---|---|---|
| `reminder` (default) | Every run, automatically | this conversation | the user wants to hear from it every time it fires |
| `monitor` | **Only** if you call the `message` tool | its own isolated session | the run should stay silent unless it finds something |

`monitor` requires `every_seconds` or `cron_expr`; it is never valid with `date`.

**Any request phrased as a condition is a `monitor`.** Listen for: "only tell me
if…", "warn me when…", "let me know if it goes below…", "check every 10 minutes
whether it's back up". If the user described *when they want to be interrupted*,
they also described when they do **not** — that is `mode="monitor"`.

In a `monitor` run, silence is a **correct, successful outcome**. Do not call
`message` to report that everything is normal, and never send filler like
"All clear.", "All done." or "nothing to report" — the user asked to be left
alone in exactly that case. A monitor keeps its earlier runs in its own session,
so it can report a *change* instead of repeating itself.

## Examples

Fixed reminder — speaks every time:
```
cron(action="add", message="Time to take a break!", every_seconds=1200, mode="reminder")
```

Conditional alert — speaks only when the condition fires:
```
cron(action="add", message="Check the chance of rain in every city on the list; if any is above 70%, warn me. Otherwise say nothing.", every_seconds=3600, mode="monitor")
```

Recurring check whose result the user always wants:
```
cron(action="add", message="Check GitHub stars and report the count", every_seconds=600, mode="reminder")
```

One-time at a time the user said (compute the day from the current time; auto-deletes):
```
cron(action="add", message="Remind me about the meeting", date="2026-11-20", time="18:30")
```

One-time, a day or a month without a time:
```
cron(action="add", message="Renew the passport", date="2027-03")
```

Recurring with a condition on a mini app — reads the app every 6 hours, speaks only
when the value crosses the threshold:
```
cron(action="add", message="The basil's soil is dry: remind me to water it.", every_seconds=21600, mode="reminder", condition={"app": "garden", "field": "humidity", "op": "<", "value": 15})
```

Timezone-aware schedule:
```
cron(action="add", message="Morning standup", cron_expr="0 9 * * 1-5", tz="America/Vancouver", mode="reminder")
```

List, pause, resume, remove:
```
cron(action="list")
cron(action="pause", job_id="abc123")
cron(action="resume", job_id="abc123")
cron(action="remove", job_id="abc123")
```

`action="list"` reports each job's last status. `silenced` there means a monitor
ran fine and had nothing to say — it is a success, not an error.

## From a scheduled run: prepare what comes next

When a job wakes you, you may set whatever the rest of the day needs, with the same
`cron` call: an alert for the 14:20 train, a check on a delayed flight, an arrival
at today's stops. A morning job that reads the day's plan and sets its alerts is the
normal use. The user sees these jobs marked as yours, and how often you wake up, so:

- Set only what the job you are running, or the page it reads, calls for. Take
  times and places from there: never invent one.
- Give a recurring check an end with `until_date` (and `until_time`) whenever the
  thing ends: a flight that leaves, a queue that matters until tonight. It goes
  away by itself.
- Prefer one quiet `mode="monitor"` check with an end over many one-time alerts.
- Do not set again what `action="list"` already shows.
- A question you asked the user and they have not answered is not a yes: never set
  what you only offered.

```
cron(action="add", name="Flight to Osaka", message="Check delays and the gate of the flight to Osaka; say only what changed", every_seconds=900, mode="monitor", until_date="2026-04-12", until_time="10:35")
```

## On arrival at a place

A `zone` fires when the phone **arrives** at a place, instead of at a time: "when I
get to the station tell me the platform", "every time I'm at the supermarket give me
the shopping list". The phone's position is compared in code, at no cost; you are
woken only on arrival.

- Coordinates come from `find_place` (or `get_location` for "here"). Never guess them.
- `radius_m`: 200 by default; larger for a big place (a park, a station, a district).
- Once by default: it fires on the first arrival and goes away, and it expires at
  `until_date` (tonight if not given, tomorrow night if it is already late).
  `every_arrival=true` fires at each arrival and may have no end date.
- If the phone is already there when you arm it, it fires on the next arrival, after
  leaving: say so.
- Not with `every_seconds`, `cron_expr`, `date`, `condition` or `mode="monitor"`.

```
cron(action="add", message="Tell me which platform my train leaves from", zone={"name": "Central Station", "latitude": 45.4861, "longitude": 9.2042, "radius_m": 300})
cron(action="add", message="Read me the shopping list", zone={"name": "Supermarket", "latitude": 45.47, "longitude": 9.18}, every_arrival=true)
cron(action="add", message="Tell me the story of the shrine", zone={"name": "Fushimi Inari", "latitude": 34.9671, "longitude": 135.7727, "radius_m": 400}, until_date="2027-04-12")
```

## Notebook jobs

A job belongs to the personal chat or to a notebook (`notebook`; in a notebook chat
it is that notebook by default), and then to the card it is about (`card`), or to
the whole notebook when `card` is empty. `why` names the notebook's wiki page that
explains why the job exists. A notebook job runs inside that notebook and delivers
in its chat.

## Time Expressions

| User says | Parameters |
|-----------|------------|
| every 20 minutes | every_seconds: 1200 |
| every hour | every_seconds: 3600 |
| every day at 8am | cron_expr: "0 8 * * *" |
| weekdays at 5pm | cron_expr: "0 17 * * 1-5" |
| 9am Vancouver time daily | cron_expr: "0 9 * * *", tz: "America/Vancouver" |
| at 6pm today, in 20 minutes | date: "<today>", time: "18:00" (compute from current time) |
| on 3 March, no time | date: "2027-03-03" (no time) |
| around March | date: "2027-03" |

## Timezone

Use `tz` with `cron_expr` to schedule in a specific IANA timezone. Without `tz`, the server's local timezone is used.

Every time on a job is a time on the user's clock. When the phone changes timezone, all jobs move with it and keep their clock time: "every day at 7" rings at 7 in the new place, and so does a job created with `tz`. Do not promise a job pinned to another place's time across a trip.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.