fix email call, add cron example

This commit is contained in:
Dave Lane 2020-03-12 10:37:16 +13:00
parent a120885920
commit d9a6099d14
2 changed files with 28 additions and 6 deletions

11
update-mailcow-certs-cron Normal file
View file

@ -0,0 +1,11 @@
# /etc/cron.d/update-mailcow-certs-cron - ensure we're using the latest mailcow certs...
#
# Check daily...
#
# Eventually, this will be an opportunity to validate certificates
# haven't been revoked, etc. Renewal will only occur if expiration
# is within 30 days.
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
0 2 * * * root /home/data/scripts/update-mailcow-certs/update-mailcow-certs.sh