Scheduled Tasks
Run task immediately
Changed onExecutes the scheduled task immediately, regardless of its cron schedule. Requires admin role.
post/api/scheduled-tasks/{id}/run
Request
- Base URLhttps://localhost:1852
- URLhttps://localhost:1852/api/scheduled-tasks/{id}/run
- AuthHTTP bearer
Path parameters
idinteger required
Numeric resource ID.
Response
Task executed. Returns updated task with last_run_at.
Example response
{
"cron_expression": "0 3 * * *"
}Changes
- warning
added the new
containerenum value to theresponse property for the response status
- warning
- info
removed the
ADMIRAL_REQUIREDenum value from theresponse property for the response status - info
removed the
ADMIRAL_REQUIREDenum value from theresponse property for the response status - info
removed the
ADMIRAL_REQUIREDenum value from theresponse property for the response status - info
removed the
ADMIRAL_REQUIREDenum value from theresponse property for the response status
- info