cron-retry

Retry failed cron jobs after network errors when connectivity returns.

1|Updated Jan 30, 2026
One-click install
npx skills add https://github.com/jieni777/opencode-config-backup --skill cron-retry-jieni777
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: cron-retry
Source: https://github.com/jieni777/opencode-config-backup/tree/main/skills/cron-retry
Command: npx skills add https://github.com/jieni777/opencode-config-backup --skill cron-retry-jieni777

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Cron jobs can fail due to transient network issues. This Skill automatically detects such failures and retries them once connectivity is restored.

Core Features & Use Cases

  • Heartbeat-integrated recovery: Monitors job status and automatically retries eligible network-related errors.
  • Selective retrying: Only retries from jobs with enabled = true and lastStatus = "error".
  • Observability: Reports recovery results and provides manual recovery steps.

Quick Start

Enable heartbeat monitoring and configure network-error patterns to automatically recover failed cron jobs.

Frequently Asked Questions about cron-retry

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

FAQPage Schema
How do I automatically retry failed cron jobs after a network error?▼

To automatically retry failed cron jobs after network errors, you need a recovery mechanism that detects transient failures and re-runs the jobs once connectivity is restored. This requires heartbeat monitoring to identify error states and trigger retries.

What conditions are required to trigger an automatic cron job retry?▼

Triggering an automatic cron job retry requires the job to have enabled = true, lastStatus = "error", and a lastError matching network patterns. Once these conditions are met, the system re-runs the job upon detecting restored connectivity.

How does heartbeat monitoring work for cron job recovery?▼

Heartbeat monitoring for cron job recovery works by continuously checking job status to detect when a cron job enters an error state. When connectivity returns, it automatically identifies eligible network-related errors and re-runs the affected jobs.

Can I selectively retry only network-related cron job failures?▼

Yes, you can selectively retry only network-related cron job failures. The system filters retries by checking if the job is enabled, has a lastStatus of "error", and if the lastError matches specific network patterns before triggering the re-run.

How do I get observability reports for recovered cron jobs?▼

You get observability reports for recovered cron jobs by using a recovery tool that reports the outcomes of automated retry attempts. Additionally, it provides manual recovery steps if the automatic network error retry does not succeed.