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
#
# For more information see the manual pages of crontab(5) and cron(8)
#
# m h dom mon dow command
5,20,35,50 * * * * /usr/bin/rsnapshot frequently
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
5,20,35,50 * * * * root /usr/bin/rsnapshot frequently
3 * * * * root /usr/bin/rsnapshot hourly
51 23 * * * root /usr/bin/rsnapshot daily
41 23 * * 6 root /usr/bin/rsnapshot weekly
31 23 2 * * root /usr/bin/rsnapshot monthly
......@@ -42,7 +42,7 @@
- config
- 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:
- postgres
- rsnapshot
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment