Install
npx skillscat add beer-sakthai/sak-family-agent/sakjules-sakthai-cron-watchdog-self-heal Install via the SkillsCat registry.
SKILL.md
Cron Watchdog Self-Heal
Automatically detects and resumes cron jobs that have stopped, become disabled,
paused, or entered a "completed" state when they should still be running.
When to Use
- User reports "cron jobs stopped firing"
- User asks about cron reliability or uptime
- Routine: runs every 5 minutes via dedicated self-heal cron job
Procedure
- List all jobs via
cronjob(action='list') - Inspect each job's state. A job needs healing if:
enabled: falseAND state is not intentionally paused (paused_reasonis not set)state: "completed"when it should be recurringlast_statusindicates an error
- Re-enable by calling
cronjob(action='update', job_id='...')— re-posting the same config withenabled: true - Log the fix — note which jobs were healed and why
- Deliver a quiet report in the chat (one line per healed job)
Jobs to watch
Only recurring cron jobs (repeat: forever) should be auto-healed. One-shot or intentionally paused jobs are skipped.
| Job | Profile | Should be |
|---|---|---|
| HF Learn & Improve Skills | sakthai | Every 1m, forever |
| HF Trending Models | sakthai | Every 1m, forever |
| HF Papers Daily | sakthai | Every 1m, forever |
| HF New Cool Spaces | sakthai | Every 1m, forever |
| Learning Loop | sakthai | Daily 2AM, forever |
Pitfalls
- Do NOT heal intentionally paused jobs (check
paused_reason). - Do NOT heal one-shot jobs.
- If a job keeps failing immediately after heal, report it — don't loop-heal.
- Rate-limit: only report actual changes, not "all clear" every tick.
Verification
cronjob(action='list') # All jobs should show enabled: true, state: scheduled