Files
wehub-resource-sync bb5c75ce05
Component Security Validation / Security Audit (push) Has been cancelled
Deploy to Cloudflare Pages / deploy (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:38:58 +08:00

20 lines
758 B
TOML

name = "aitmpl-crons"
main = "index.js"
compatibility_date = "2024-09-23"
# Cron triggers:
# - claude-code-check: every 30 minutes (monitors Claude Code npm releases)
# - health-check: every hour (was every 15 min on Vercel, reduced to save invocations)
[triggers]
crons = ["*/30 * * * *", "0 * * * *"]
# Environment variables — set via: wrangler secret put <KEY>
# Required:
# - DASHBOARD_URL: https://www.aitmpl.com (no trailing slash)
# - TRIGGER_SECRET: shared secret for authenticating internal cron calls
#
# Optional (error tracking):
# - SENTRY_DSN: DSN from the "aitmpl-workers" Sentry project. Also configure
# Cron Monitors in Sentry with slugs "claude-code-check" and "health-check"
# to get alerted if a schedule stops running entirely.