cron-management

Manages persistent cron schedules for cortextOS agent tasks.

88|108|Updated Apr 7, 2026
One-click install
npx skills add https://github.com/grandamenium/cortextos --skill cron-management-grandamenium
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cron-management
Source: https://github.com/grandamenium/cortextos/tree/main/templates/analyst/.claude/skills/cron-management
Command: npx skills add https://github.com/grandamenium/cortextos --skill cron-management-grandamenium

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps you manage recurring scheduled tasks for cortextOS agents so important checks and reports keep running after restarts, without relying on fragile session-local loops.

Core Features & Use Cases

  • Persistent daemon-managed scheduling: Store and run agent crons from the daemon-managed ${CTX_ROOT}/state/$CTX_AGENT_NAME/crons.json, surviving agent and daemon restarts and context rotation.
  • Create, update, and remove schedules: Add new crons with interval shorthand or a 5-field cron expression, update the schedule, prompt, or enabled state, and remove crons when they are no longer needed.
  • Operational troubleshooting with logs: Verify registrations, test fires from the dashboard, and inspect cron execution history (status, retries, failures, timing, and errors) to diagnose why a cron is not firing.

Quick Start

Use cron-management to register a new recurring task by adding a cron for your agent, then confirm it appears in the daemon’s registered crons list.

Frequently Asked Questions about cron-management

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

FAQPage Schema
How do I schedule recurring agent tasks so they survive daemon restarts?

You can create recurring schedules using either interval shorthand or a 5-field cron expression. These expressions are stored and managed by the cortextOS daemon in a dedicated crons.json file to ensure reliable execution.

Why is my cron schedule not firing and how do I debug it?

If your cron schedule is not firing, debug it by inspecting the cron execution history and daemon log paths. You can verify registrations, check status and retries, and test fires from the dashboard to diagnose timing or error issues.

Can I update or disable a scheduled cron without removing it entirely?

Yes, you can update the schedule, prompt, or enabled state of an existing cron without removing it. You can also disable a cron temporarily using cortextOS bus commands before deciding to permanently remove it from the configuration.

What is the best way to test cron behavior during a session start?

The best way to test cron behavior during session start is to use the dashboard. When allowed, the dashboard lets you trigger test fires to validate scheduler behavior and confirm that your recurring tasks are registered correctly.

Do I need cortextOS bus commands to manage my agent crons?

Yes, you need cortextOS bus commands to add, update, enable, disable, or remove crons. These commands interact directly with the daemon-managed crons.json file to ensure your schedules are persisted correctly.