زمانبندی خودکار
Cronitor
Heartbeat endpoint plus dead-man's-switch alerts
نتیجه ارزیابی
یک اندپوینت هارتبیت (Heartbeat) همراه با هشدارهای Dead-man's-switch. صد خط کد با برچسب یک محصول SaaS.
- زمان تقریبی ساخت
- یک نشست
- هزینه تقریبی اجرا
- نامشخص
- اشتراک محصول اصلی
- ۱۰ دلار در ماه
چه چیزی را از دست میدهی؟
- صفحات وضعیت (Status page) و امکانات تیمی آنها
- مسیریابی هشدارها (پیامک، PagerDuty)
- بینشها و تحلیلهای عبارات Cron
پرامپت شروع
برای شروع ساخت، مستقیم کپیاش کن.
Build me a cron-job monitor like Cronitor / Healthchecks. Requirements: - Each monitored job gets a unique ping URL (/ping/:uuid). The job's crontab line just appends `&& curl -fsS <url>` · document this. - Define jobs in SQLite via a basic-auth /admin page: name, expected period (e.g. every 60 min) and grace time. Store every ping with timestamp. - A scheduler loop checks each job: if now > last_ping + period + grace, the job is LATE → send one alert webhook (Discord/Slack/Telegram, URL in .env) with the job name and how late it is. Alert again on recovery. No alert spam · one per state change. - /admin dashboard: each job as a row with green/amber/red status dot, last ping time ("7 min ago"), and a 24h ping histogram as inline SVG. - Support /ping/:uuid/fail for explicit failure reports with an optional body shown in the alert. - Python or Node, single process, systemd unit included.
برای ساختش کمک میخوای؟
به درد یکی دیگه هم میخوره؟
