chore: remove cron jobs and survey scheduling functionality (#6505)

Co-authored-by: Dhruwang <dhruwangjariwala18@gmail.com>
This commit is contained in:
Piyush Gupta
2025-09-11 12:27:11 +05:30
committed by GitHub
parent 0188aad97b
commit dd394f1d2c
110 changed files with 414 additions and 1096 deletions
-7
View File
@@ -46,13 +46,6 @@ run_with_timeout() {
fi
}
# Start cron jobs if enabled
if [ "${DOCKER_CRON_ENABLED:-1}" = "1" ]; then
echo "Starting cron jobs...";
supercronic -quiet /app/docker/cronjobs &
else
echo "Docker cron jobs are disabled via DOCKER_CRON_ENABLED=0";
fi
echo "🗃️ Running database migrations..."
run_with_timeout 600 "database migration" sh -c '(cd packages/database && npm run db:migrate:deploy)'