1 2 3 4 5
#!/bin/sh node --import tsx/esm scripts/scrape.ts || echo "[entrypoint] initial scrape failed (exit $?), cron will retry" exec cron -f