cron

Run Notifications

Run the notification cron job. Called hourly by Railway cron. Protected by X-Cron-Secret header. Accepts both X-Cron-Secret and x-cron-secret header casing.

Cron command (scripts/cron_run_notifications.sh): curl -sS --fail --max-time 600 -X POST "$API_URL/api/cron/run-notifications" -H "X-Cron-Secret: $CRON_SECRET"

post/api/cron/run-notifications

Request

  • Base URL: https://api.earmarkiq.app (the document declares no server; this is the origin it was published from)
  • URL: https://api.earmarkiq.app/api/cron/run-notifications
  • Auth: none declared

Headers

X-Cron-Secretstring
x-cron-secretstring

Response

Successful Response

statusstring required
users_checkedinteger required
notifications_sentinteger required

Changes

No recorded changes to this operation across all 2 revisions of this API.