refactor: migrate TikTok polling from external cron to internal Next.js instrumentation interval

This commit is contained in:
2026-07-03 23:50:56 +07:00 Unverified
parent 46360826b6
commit d8437ae39a
4 changed files with 26 additions and 45 deletions
-7
View File
@@ -14,10 +14,3 @@ services:
- erika
restart: unless-stopped
cron:
image: curlimages/curl
network_mode: host
restart: unless-stopped
env_file:
- .env
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"