fix(upload): prevent overlapping cron runs

This commit is contained in:
2026-08-02 18:09:00 +07:00 Unverified
parent 5b0bc32845
commit 9bbde8b7b5
3 changed files with 22 additions and 1 deletions
+1 -1
View File
@@ -1 +1 @@
* * * * * wget -q -O /dev/null --header="Authorization: Bearer ${CRON_SECRET}" http://app:3000/api/cron/video-uploads || echo "Scheduled video upload processing failed." >&2
* * * * * /usr/local/bin/process-scheduled-video-uploads