grandamenium/cortextos/cron-management
- community
Checking that the SKILL.md file is still in the repository.
Manage scheduled tasks (crons). Use when: setting up crons on session start, creating new recurring tasks, or troubleshooting scheduled tasks.
Install
npx vskill@latest install grandamenium/cortextos/cron-managementSKILL.md
Cron Management
Your scheduled tasks are daemon-managed external crons. They are stored in ${CTX_ROOT}/state/{agent}/crons.json and scheduled by the cortextOS daemon. Crons survive agent restarts, context compactions, and daemon restarts automatically — you do NOT need to recreate them on session start.
On Session Start
Check that your crons are registered. You do not need to recreate them.
If a cron is missing (not in the list), add it:
Adding a New Cron
The cron is written to crons.json atomically and the scheduler is reloaded. No /loop call needed — the daemon fires crons directly into your PTY.
`manualFireDisabled`: If you want a cron to only fire on schedule (not manually test-fired from the dashboard), set manualFireDisabled: true in the definition. Contact the operator or use the dashboard edit form to set this flag.
Removing a Cron
Updating a Cron
Use the dashboard (/workflows/[agent]/[name]) or the bus command (if available):
Checking Execution History
Cron Expiry
External crons do not expire. They fire on schedule until disabled or removed. The old 3-day /loop expiry no longer applies.
Troubleshooting
Cron not firing:
cortextos bus list-crons $CTX_AGENT_NAME— confirm it is registered and has anext_fire_atcortextos bus get-cron-log $CTX_AGENT_NAME— check forstatus: retriedorstatus: failedentries- If PTY injection is failing, check the daemon log:
~/.cortextos/$CTX_INSTANCE_ID/logs/$CTX_AGENT_NAME/
Cron fires but agent does not react:
- The daemon injects
[CRON: <name>] <prompt>into your PTY. If you see this in your conversation history but did not act, it was an older session. - Check daemon log; PTY injection retries 3 times (1s/4s/16s backoff).
`crons.json` corrupted:
readCronsautomatically falls back tocrons.json.bakon parse failure.- If both files are bad, add crons back via
cortextos bus add-cron. - See
CRONS_MIGRATION_GUIDE.mdfor full recovery procedures.
Crons disappeared after daemon reload (reload-to-empty):
- The daemon's
lastGoodScheduleprotection keeps crons firing in memory during transient corruption. - Check stderr logs for
WARNING: reload produced empty scheduleto confirm this triggered. - Repair
crons.jsonand the scheduler will pick up the fix on the next reload.
Migration from config.json (legacy)
If your agent was set up before the external-crons migration, your crons lived in config.json. The daemon auto-migrates them to crons.json on first boot. A .crons-migrated marker file prevents re-runs. See CRONS_MIGRATION_GUIDE.md for details and manual migration instructions.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/cron-management/SKILL.md
Popularity
- Repository stars
- 65
- Repository forks
- 83
- 7-day trend score
- 21
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 16 Jun 2026, 4 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/grandamenium/cortextos/cron-management)