fix: add logging to the TikTok cron job command in docker-compose.yml

This commit is contained in:
2026-07-03 23:36:04 +07:00 Unverified
parent 752f708151
commit 46360826b6
+1 -1
View File
@@ -20,4 +20,4 @@ services:
restart: unless-stopped
env_file:
- .env
command: /bin/sh -c "while true; do curl -s 'http://localhost:3000/api/cron/tiktok?secret=$${CRON_SECRET}' > /dev/null; sleep 300; done"
command: /bin/sh -c "while true; do echo \"[$$(date)] Triggering TikTok cron...\"; curl -s \"http://localhost:3000/api/cron/tiktok?secret=$${CRON_SECRET}\"; echo \"\"; sleep 300; done"