Skip to content

Commit

Permalink
feat: added logging for crontab job to confirm if it's active
Browse files Browse the repository at this point in the history
  • Loading branch information
hsm2k3 committed Dec 13, 2024
1 parent 6a9d11c commit 639d3ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ services:
- /bin/sh
- -c
- |
echo "0 */12 * * * certbot renew --webroot -w /var/www/certbot --quiet --post-hook 'docker exec -i nginx nginx -s reload'" |
echo "0 */12 * * * certbot renew --webroot -w /var/www/certbot --quiet --post-hook 'docker exec -i nginx nginx -s reload' >> /var/log/letsencrypt/renewal.log 2>&1" |
crontab - && crond -f
volumes:
- ./certbot/conf:/etc/letsencrypt
Expand Down

0 comments on commit 639d3ea

Please sign in to comment.