İçeriğe geç
TakoAPI
Becerilere dön

cron-retry

jrbobbyhansen-pixel tarafından

Self-Hosted & Automation
3.0kİndirme sayıları clawskills.sh tarafından bildirilir
3Yıldızlar
0Görüntülenmeler
0 beğeniBu beceriyi beğenmek için giriş yapın
—Henüz değerlendirilmedi
Puanınız

Özet

Auto-retry failed cron jobs on connection recovery.

Açıklama

Bu Beceri Ne Yapar

Monitors cron jobs for network-related failures and retries them automatically when connectivity is restored. Works by adding a recovery check to the heartbeat cycle: on each heartbeat, it lists all jobs, filters for error states caused by transient network issues, and re-runs eligible ones. Skips logic errors, auth failures, and disabled jobs.

Distinguishes retryable network errors from permanent failures automatically, so jobs recover without manual inspection or re-triggering.

Ne Zaman Kullanılır

  • Recovering a nightly briefing that failed to send during a network outage
  • Retrying a scheduled data fetch after a DNS lookup failure
  • Resuming a job that timed out mid-run due to dropped connectivity
  • Auto-recovering message delivery failures after a server restart
  • Reducing manual intervention when flaky network causes recurring cron failures

Örnek İş Akışı

GİRİŞ

User asks: My evening briefing cron job failed last night due to a network error — can it be recovered?

AJAN
  1. 1

    Call cron tool with action: "list" to fetch all jobs

  2. 2

    Filter jobs where lastStatus is "error" and enabled is true

  3. 3

    Check lastError of each failed job against network error patterns (ETIMEDOUT, fetch failed, ECONNREFUSED, etc.)

  4. 4

    Call cron tool with action: "run" and the job ID for each retryable job

  5. 5

    Report recovery results

ÇIKIŞ

Recovered 1 job: evening-wrap-briefing

Kurulum

clawhub install jrbobbyhansen-pixel/cron-retry

CLI komutunu çalıştırın ya da istemi Claude Code, Cursor, Codex veya kullandığınız kodlama ajanına yapıştırın.

Bağlantılar