diff --git a/HowtoAcme.sh.md b/HowtoAcme.sh.md index fb2d9d6f..d654adb7 100644 --- a/HowtoAcme.sh.md +++ b/HowtoAcme.sh.md @@ -39,6 +39,11 @@ Il faut enfin que votre environnement charge ce fichier de configuration : # echo '. "/etc/acme.sh/acme.sh.env"' >> ~/.bashrc ~~~ +Pour une exécution automatique régulière, vous pouvez ajouter une tâche dans `/etc/cron.d/acme-sh` (attention, pas de `.` dans les noms de tâches cron, sinon elles ne sont pas exécutées) : + +~~~ +33 0 * * * root "/usr/local/lib/acme.sh/acme.sh" --cron --home "/usr/local/lib/acme.sh" --config-home "/etc/acme.sh" --syslog 3 --no-color > /dev/null +~~~ ### Challenge http-01