v4

latestOpenAPI 3.1.02026-08-08221179273.1 KB
cron-tasks

Process Cron Tasks

5-minute cron job endpoint to process all due cron tasks. Should be called every 5 minutes.

Queues a Celery task to:

  • Fetch all active tasks where next_run_at is within the 5-minute window
  • Process each task based on type (e.g., send live activity for reminders)

Requires x-api-key header for authentication.

post/api/cron-tasks/admin/process

Headers

x-api-keystring required

Response

Successful Response

{"stackTrail":"paths:/api/cron-tasks/admin/process:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}