---
title: "Process Cron Tasks"
method: POST
path: "/api/cron-tasks/admin/process"
tags: ["cron-tasks"]
---

# Process Cron Tasks

`POST /api/cron-tasks/admin/process`

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.

## Headers

- `x-api-key` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/usecreed/apis/creed-api.md) · [All operations](https://skmtc.net/usecreed/apis/creed-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/usecreed/creed-api/versions/523833f9e819/schema)
