Skip to content

Exit Codes

Jérémy Lecour edited this page Nov 8, 2021 · 3 revisions

Request exit codes

There currently are three exit codes:

0: certificate request successful

1: certificate request failed

2: certificate still valid, request skipped

Cronjobs

If you run acme.sh --cron and all certificates are still valid (so nothing is renewd), the exit code will be is 0. Only if you run acme.sh --renew --domain example.com and it is still valid, the exit code will be 2 as stated above.

Clone this wiki locally