mirror of
https://github.com/complexcaresolutions/cms.c2sgmbh.git
synced 2026-03-17 22:04:10 +00:00
Konfiguriert automatische Hintergrund-Jobs für Vercel: - Token-Refresh Cron: 2x täglich (6:00 + 18:00 UTC) - Erneuert OAuth-Tokens 7 Tage vor Ablauf - Benachrichtigt Manager bei Problemen - Dokumentation in CLAUDE.md: - Neue Sektion "Scheduled Cron Jobs (Vercel)" - Übersicht aller Cron-Endpoints - Beispiele für manuellen Trigger - Monitoring-Hinweise Bestehende Crons: - community-sync: alle 15 Minuten (YouTube/Facebook/Instagram) - token-refresh: 2x täglich (OAuth Token Renewal) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
13 lines
249 B
JSON
13 lines
249 B
JSON
{
|
|
"$schema": "https://openapi.vercel.sh/vercel.json",
|
|
"crons": [
|
|
{
|
|
"path": "/api/cron/community-sync",
|
|
"schedule": "*/15 * * * *"
|
|
},
|
|
{
|
|
"path": "/api/cron/token-refresh",
|
|
"schedule": "0 6,18 * * *"
|
|
}
|
|
]
|
|
}
|