Entrar

Cron: Resetear

POST https://{organization}.myguper.com/api/sender/cron/{id}/reset

Resetea un cron atascado — fuerza status = 1 y attempts = 0 en la fila de ll_cronjob para que el scheduler lo tome en el próximo tick. Se usa cuando un worker murió reteniendo el job y el watchdog no se recuperó solo.

Auth: sólo firma de origen.

Try-it values populated from environment ACME (Demo)


Autenticación

Token

Send your user token in the x-guper-authorization header.

Encabezados

Name Type Description
x-guper-authorization * string User token issued by Guper.
Content-Type * string Always `application/json` for endpoints that accept a JSON body.

Parámetros de ruta

Name Type Description
id * integer Cron id from /cron/list.

Respuestas

{ "service": "sender", "id": 7, "reset": true }
Copied to clipboard