diff options
author | eug-vs <eugene@eug-vs.xyz> | 2022-03-26 17:22:36 +0300 |
---|---|---|
committer | eug-vs <eugene@eug-vs.xyz> | 2022-03-26 17:22:36 +0300 |
commit | 32154fb5c472691e7a1a26d4f2a57dacfcd9360d (patch) | |
tree | 4cf421a75e4157a81fdf61451378e6678eb448e3 /website.yaml | |
parent | 61d7461304682b1472ef569a842ca770e838c000 (diff) | |
download | infrastructure-32154fb5c472691e7a1a26d4f2a57dacfcd9360d.tar.gz |
feat: add cronjobs
Diffstat (limited to 'website.yaml')
-rw-r--r-- | website.yaml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/website.yaml b/website.yaml index 60dda4e..41ea90c 100644 --- a/website.yaml +++ b/website.yaml @@ -29,9 +29,11 @@ - name: Setup auto-renewing certificates become: true - shell: | - echo "0 12 * * * /usr/bin/certbot renew --quiet" >> /tmp/crontab - crontab /tmp/crontab + cron: + name: "Auto-renew certificates" + minute: "0" + hour: "12" + job: "/usr/bin/certbot renew --quiet" - name: Allow user to write to website location become: true |