Open wolfsoft opened 5 years ago
Common crontab format is:
# m h dom mon dow user command
But letsencrypt_cron_renew swapped weekday and month:
- name: Create crontab to renew SSL certificates cron: name: 'renew SSL certificates' job: '{{ letsencrypt_install_path }}/renew_certificate.sh' minute: '{{ letsencrypt_cron_renew[0] }}' hour: '{{ letsencrypt_cron_renew[1] }}' day: '{{ letsencrypt_cron_renew[2] }}' weekday: '{{ letsencrypt_cron_renew[3] }}' month: '{{ letsencrypt_cron_renew[4] }}'
It can confuse system administrators and lead to mistakes.
Yeah I just encountered this - not a big deal, but I did have to come look at code to understand why the change differed from my expectations
Common crontab format is:
# m h dom mon dow user command
But letsencrypt_cron_renew swapped weekday and month:
It can confuse system administrators and lead to mistakes.