mirror of
https://github.com/complexcaresolutions/cms.c2sgmbh.git
synced 2026-03-17 16:14:12 +00:00
Add two cron endpoints for automated YouTube metrics syncing: - /api/cron/youtube-metrics-sync (every 6 hours): syncs video performance metrics (views, likes, comments) for all active channels - /api/cron/youtube-channel-sync (daily at 04:00 UTC): syncs channel-level statistics (subscribers, total views, video count) Both endpoints follow the established cron pattern with CRON_SECRET auth, concurrent execution guards, HEAD monitoring, and structured logging. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| app | ||
| blocks | ||
| collections | ||
| components/admin | ||
| globals | ||
| hooks | ||
| jobs | ||
| lib | ||
| migrations | ||
| types | ||
| instrumentation.ts | ||
| middleware.ts | ||
| payload-generated-schema.ts | ||
| payload-types.ts | ||
| payload.config.ts | ||