Entrar

Cron: Resetar

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

Reseta um cron travado — força status = 1 e attempts = 0 na linha de ll_cronjob para o scheduler pegar no próximo tick. Usado quando um worker morreu segurando o job e o watchdog não recuperou sozinho.

Auth: apenas assinatura de origem.

Try-it values populated from environment ACME (Demo)


Autenticação

Token

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

Cabeçalhos

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 do caminho

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

Respostas

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