Skip to content
Snippets Groups Projects
Commit 54567fda authored by Lars Beckers's avatar Lars Beckers
Browse files

move postgres snapshots from root's crontab to cron.d

parent c37535a3
No related branches found
No related tags found
No related merge requests found
# 5,20,35,50 * * * * root /usr/bin/rsnapshot frequently
# For more information see the manual pages of crontab(5) and cron(8) 3 * * * * root /usr/bin/rsnapshot hourly
# 51 23 * * * root /usr/bin/rsnapshot daily
# m h dom mon dow command 41 23 * * 6 root /usr/bin/rsnapshot weekly
5,20,35,50 * * * * /usr/bin/rsnapshot frequently 31 23 2 * * root /usr/bin/rsnapshot monthly
3 * * * * /usr/bin/rsnapshot hourly
51 23 * * * /usr/bin/rsnapshot daily
41 23 * * 6 /usr/bin/rsnapshot weekly
31 23 2 * * /usr/bin/rsnapshot monthly
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
- config - config
- name: ensure rsnapshot is running regularly - name: ensure rsnapshot is running regularly
copy: src=crontab dest=/var/spool/cron/crontabs/root owner=root group=root mode=0600 copy: src=crontab dest=/etc/cron.d/postgres-snapshot owner=root group=root mode=0644
tags: tags:
- postgres - postgres
- rsnapshot - rsnapshot
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment