# Send Cron Retry to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "cron-retry",
    "name": "Cron Retry",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/jrbobbyhansen-pixel/cron-retry",
    "canonicalUrl": "https://clawhub.ai/jrbobbyhansen-pixel/cron-retry",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/cron-retry",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=cron-retry",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "cron-retry",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-02T05:55:53.930Z",
      "expiresAt": "2026-05-09T05:55:53.930Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=cron-retry",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=cron-retry",
        "contentDisposition": "attachment; filename=\"cron-retry-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "cron-retry"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/cron-retry"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/cron-retry",
    "downloadUrl": "https://openagent3.xyz/downloads/cron-retry",
    "agentUrl": "https://openagent3.xyz/skills/cron-retry/agent",
    "manifestUrl": "https://openagent3.xyz/skills/cron-retry/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/cron-retry/agent.md"
  }
}
```
## Documentation

### Cron Retry Skill

Automatically detect and retry cron jobs that failed due to network/connection errors.

### Quick Start (Heartbeat Integration)

Add this to your HEARTBEAT.md:

## Cron Recovery Check
Check for cron jobs with lastStatus: "error". If the error matches network patterns (connection error, sendMessage failed, fetch failed, ETIMEDOUT, ECONNREFUSED), retry the job using cron tool with action: "run" and the job ID. Report what was recovered.

That's it. On each heartbeat, failed network jobs get retried automatically.

### How It Works

On heartbeat, check all cron jobs via cron list
Filter for jobs where lastStatus = "error" and enabled = true
Check if lastError matches network-related patterns
Re-run eligible jobs via cron run
Report results

### Network Error Patterns (Retryable)

These errors indicate transient network issues worth retrying:

Network request.*failed
Connection error
ECONNREFUSED
ETIMEDOUT
ENOTFOUND
sendMessage.*failed
fetch failed
socket hang up

### What Gets Retried vs Skipped

Retried:

Network timeouts
Connection refused
Message send failures
DNS lookup failures

Skipped (not retried):

Logic errors (bad config, missing data)
Auth failures
Disabled jobs
Jobs that just ran successfully

### Manual Recovery Check

To check and retry failed jobs manually:

# List all jobs and their status
clawdbot cron list

# Find failed jobs
clawdbot cron list | jq '.jobs[] | select(.state.lastStatus == "error") | {name, error: .state.lastError}'

# Retry a specific job
clawdbot cron run --id <JOB_ID>

### Agent Implementation

When implementing the heartbeat check:

1. Call cron tool with action: "list"
2. For each job in response.jobs:
   - Skip if job.enabled !== true
   - Skip if job.state.lastStatus !== "error"
   - Check if job.state.lastError matches network patterns
   - If retryable: call cron tool with action: "run", jobId: job.id
3. Report: "Recovered X jobs" or "No failed jobs to recover"

### Example Scenario

7:00 PM — Evening briefing cron fires
Network hiccup — Telegram send fails
Job marked lastStatus: "error", lastError: "Network request for 'sendMessage' failed!"
7:15 PM — Connection restored, heartbeat runs
Skill detects the failed job, sees it's a network error
Retries the job → briefing delivered
Reports: "Recovered 1 job: evening-wrap-briefing"

### Safety

Only retries transient network errors
Respects job enabled state
Won't create retry loops (checks lastRunAtMs)
Reports all recovery attempts
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: jrbobbyhansen-pixel
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-02T05:55:53.930Z
- Expires at: 2026-05-09T05:55:53.930Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/cron-retry)
- [Send to Agent page](https://openagent3.xyz/skills/cron-retry/agent)
- [JSON manifest](https://openagent3.xyz/skills/cron-retry/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/cron-retry/agent.md)
- [Download page](https://openagent3.xyz/downloads/cron-retry)