cron-retry
Auto-retry failed cron jobs on connection recovery. Use when cron jobs fail due to network errors and should be retried when connectivity is restored. Integrates with heartbeat to detect failed jobs and re-run them automatically.
Why use this skill?
Enhance your OpenClaw reliability with the cron-retry skill. Automatically detect and recover failed cron jobs caused by network issues using smart heartbeat integration.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/jrbobbyhansen-pixel/cron-retryWhat This Skill Does
The cron-retry skill acts as a robust recovery layer for automated tasks within the OpenClaw ecosystem. By integrating directly with your heartbeat monitoring, this skill monitors the health of your scheduled cron jobs, specifically focusing on identifying and mitigating transient network-related failures. Instead of leaving failed tasks in a broken state, the skill automatically detects when a service is back online and re-triggers the necessary functions to ensure consistency and reliability in your workflows.
Installation
To integrate this skill into your environment, use the OpenClaw command-line interface. Run the following command in your terminal:
clawhub install openclaw/skills/skills/jrbobbyhansen-pixel/cron-retry
After installation, follow the Quick Start instructions provided in your HEARTBEAT.md file to configure the automated polling mechanism that triggers the recovery logic.
Use Cases
- Automated Reporting: Ensure daily or hourly reports reach their destination (e.g., email or chat) even if the connection dropped momentarily at the time of execution.
- API Synchronization: Keep external data in sync without needing manual intervention when a remote API endpoint is temporarily unresponsive.
- Distributed Task Management: Manage long-running background tasks that depend on reliable internet access, reducing the operational burden of manually checking job logs.
Example Prompts
- "Check if there are any pending cron jobs that failed due to network errors and recover them now."
- "List all jobs currently in an error state and show me which ones are eligible for an automatic retry."
- "Recover all network-interrupted cron jobs and provide a summary of the tasks that were successfully re-run."
Tips & Limitations
- Precision Filtering: The skill uses strict regex pattern matching to ensure it only retries network-related errors. It will purposefully ignore logic errors, missing data, or authentication failures to prevent infinite loops.
- Heartbeat Frequency: The effectiveness of this skill is tied to your heartbeat cadence; ensure your heartbeat interval is set frequently enough to catch failures, but not so aggressive that it creates excessive load.
- Monitoring: Always review the logs generated by the skill to distinguish between persistent network outages and one-off incidents. If a job fails multiple times, investigate the underlying network or dependency path rather than relying solely on the retry mechanism.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-jrbobbyhansen-pixel-cron-retry": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, code-execution