cron

Manage Codex automations in a local SQLite database via Python CLI.

66|2|Updated Feb 18, 2015
One-click install
npx skills add https://github.com/tkersey/dotfiles --skill cron-tkersey
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cron
Source: https://github.com/tkersey/dotfiles/tree/main/codex/skills/cron
Command: npx skills add https://github.com/tkersey/dotfiles --skill cron-tkersey

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Codex automation management is centralized in a local SQLite database, enabling developers to define, monitor, and adjust scheduled workflows without external tooling.

Core Features & Use Cases

  • Create automations with a name, prompt, and RFC5545 RRULE-based schedule.
  • List, update, enable/disable, run now, or delete automations; customize working directories.
  • Inspect automation records and history to track execution and outcomes.

Quick Start

uv run python scripts/cron.py create --name "Weekly Update" --rrule "RRULE:FREQ=WEEKLY;BYDAY=FR;BYHOUR=9;BYMINUTE=0" --prompt-file /path/to/prompt.md

Frequently Asked Questions about cron

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I schedule Codex automations locally without external tooling?

You can schedule Codex automations locally by using a Python CLI script that stores configurations and metadata in a local SQLite database, allowing you to define, monitor, and adjust workflows without external dependencies.

What RFC5545 RRULE format is needed to create a weekly scheduled automation?

Creating a weekly scheduled automation requires an RFC5545 RRULE string like 'RRULE:FREQ=WEEKLY;BYDAY=FR;BYHOUR=9;BYMINUTE=0' passed to the CLI script to define the recurrence pattern.

Can I read automation prompts from a file when scheduling CLI tasks?

Yes, you can read automation prompts from a file when scheduling CLI tasks by using the prompt-file flag in the Python script to load text content directly into the local database.

How do I manage and update existing scheduled SQLite automations?

You can manage and update existing SQLite automations by using the CLI script to list, enable, disable, run, or delete records, and customize working directories, prompts, and RRULE schedules.

Does this local scheduling approach support custom working directories for CLI automations?

Yes, this local scheduling approach supports custom working directories, allowing you to define and update the cwd scope for your automations directly within the SQLite database via CLI commands.