X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/2f23300adc2b6a6730c3d8eaa1bcc45d95b208e6..92b965efcd8f94ac50d057336aa0a4a5e79ed378:/cookbooks/community/templates/default/data.yml.erb diff --git a/cookbooks/community/templates/default/data.yml.erb b/cookbooks/community/templates/default/data.yml.erb index f18668e3d..2aa4de023 100644 --- a/cookbooks/community/templates/default/data.yml.erb +++ b/cookbooks/community/templates/default/data.yml.erb @@ -42,3 +42,9 @@ hooks: cmd: su - postgres -c 'psql discourse' raise_on_fail: false + - file: + path: /var/spool/cron/crontabs/postgres + contents: | + # m h dom mon dow command + # MAILTO=? + 0 4 * * * /var/lib/postgresql/take-database-backup