1
0

scheduler.crontab 517 B

12345678910
  1. # IRDB scheduler — busybox crond schedule.
  2. #
  3. # Drives /internal/jobs/tick once a minute. The api dispatches whichever
  4. # periodic jobs are due (recompute-scores, cleanup-audit, enrich-pending,
  5. # refresh-geoip). job_locks mediates between replicas so duplicate ticks
  6. # are correct but wasteful.
  7. #
  8. # -m 280 caps the request below the 1-minute cadence so we never queue
  9. # overlapping ticks.
  10. * * * * * curl -sf -m 280 -X POST -H "Authorization: Bearer $INTERNAL_JOB_TOKEN" http://api:8081/internal/jobs/tick > /dev/null