9 lines
349 B
Python
9 lines
349 B
Python
|
@metadata_processor
|
||
|
def crontab(metadata):
|
||
|
return {
|
||
|
'cron': {
|
||
|
'letsencrypt_renew': '20 4 * * * root /usr/bin/dehydrated --cron --accept-terms --ocsp --challenge http-01 > /dev/null',
|
||
|
'letsencrypt_cleanup': '42 23 * * 0 root /usr/bin/dehydrated --cleanup > /dev/null',
|
||
|
},
|
||
|
}, DEFAULTS, DONE
|