Merge pull request #68 from lindhe/fix-broken-cron

Fix broken cron scripts
This commit is contained in:
Jonathan Carter 2017-07-11 13:44:13 +02:00 committed by GitHub
commit 2e1f309131
4 changed files with 8 additions and 8 deletions

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
# Only call zfs-auto-snapshot if it's available # Only call zfs-auto-snapshot if it's available
exec which zfs-auto-snapshot > /dev/null && \ which zfs-auto-snapshot > /dev/null && \
zfs-auto-snapshot --quiet --syslog --label=daily --keep=31 // exec zfs-auto-snapshot --quiet --syslog --label=daily --keep=31 //

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
# Only call zfs-auto-snapshot if it's available # Only call zfs-auto-snapshot if it's available
exec which zfs-auto-snapshot > /dev/null && \ which zfs-auto-snapshot > /dev/null && \
zfs-auto-snapshot --quiet --syslog --label=hourly --keep=24 // exec zfs-auto-snapshot --quiet --syslog --label=hourly --keep=24 //

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
# Only call zfs-auto-snapshot if it's available # Only call zfs-auto-snapshot if it's available
exec which zfs-auto-snapshot > /dev/null && \ which zfs-auto-snapshot > /dev/null && \
zfs-auto-snapshot --quiet --syslog --label=monthly --keep=12 // exec zfs-auto-snapshot --quiet --syslog --label=monthly --keep=12 //

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
# Only call zfs-auto-snapshot if it's available # Only call zfs-auto-snapshot if it's available
exec which zfs-auto-snapshot > /dev/null && \ which zfs-auto-snapshot > /dev/null && \
zfs-auto-snapshot --quiet --syslog --label=weekly --keep=8 // exec zfs-auto-snapshot --quiet --syslog --label=weekly --keep=8 //