From a9815ba85dca3ace14ae0feeb56624833ec15918 Mon Sep 17 00:00:00 2001 From: Jakob S Date: Tue, 29 Jun 2021 14:30:12 +0200 Subject: [PATCH] More verbose explanations on the exit code for cronjobs. --- Exit-Codes.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Exit-Codes.md b/Exit-Codes.md index 6a7fd02..7f34cc1 100644 --- a/Exit-Codes.md +++ b/Exit-Codes.md @@ -7,4 +7,9 @@ There currently are three exit codes: **1**: certificate request failed -**2**: certificate still valid, request skipped \ No newline at end of file +**2**: certificate still valid, request skipped + +## Cronjos + +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. \ No newline at end of file