cURL
curl --request POST \ --url http://localhost:63372/api/captain/agents/{id}/cron/{jobId}/run \ --cookie captain_session=
{ "ok": true }
Trigger a cron job to run immediately, regardless of its schedule.
HMAC-signed session cookie returned by /api/captain/auth/login. Valid for 7 days. Invalidated when password changes.
Agent ID
Cron job ID
Success
true