refactor: migrate TikTok polling from external cron to internal Next.js instrumentation interval
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user