feat: Scheduled Jobs Service

Features:
- Cron scheduling (standard syntax)
- HTTP triggers (GET/POST)
- Timezone support
- Retry logic with configurable attempts
- Execution logs with response data
- Manual trigger (run now)
- Stats: runs, successes, failures, avg duration
- Beautiful dashboard UI

Demo: 5 jobs (health, cleanup, metrics, backup, report)

Live: https://blackroad-cron.amundsonalexa.workers.dev
This commit is contained in:
Your Name
2026-02-14 23:11:54 -06:00
commit 6886973b15
7 changed files with 2153 additions and 0 deletions

17
package.json Normal file
View File

@@ -0,0 +1,17 @@
{
"name": "@blackroad/cron",
"version": "1.0.0",
"description": "Scheduled Jobs Service",
"main": "src/index.ts",
"scripts": {
"dev": "wrangler dev",
"deploy": "wrangler deploy"
},
"author": "BlackRoad OS, Inc.",
"license": "MIT",
"devDependencies": {
"@cloudflare/workers-types": "^4.20240117.0",
"typescript": "^5.3.0",
"wrangler": "^3.0.0"
}
}