summaryrefslogtreecommitdiff
path: root/liw.cronish
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2015-06-29 10:36:01 +0300
committerLars Wirzenius <liw@liw.fi>2015-06-29 10:36:01 +0300
commit310001abbbb33f79b7efc215ce641cb62ba5ed55 (patch)
tree1159bd3472b706c64db8e516bc1c0d2654fdadc5 /liw.cronish
parent40a7ea4cba69075b868fe49578ef6f9a97d8e921 (diff)
downloadliw-dot-files-310001abbbb33f79b7efc215ce641cb62ba5ed55.tar.gz
Fix work-backup job to not trigger every time if disk not there
Diffstat (limited to 'liw.cronish')
-rw-r--r--liw.cronish3
1 files changed, 1 insertions, 2 deletions
diff --git a/liw.cronish b/liw.cronish
index 556cf8e..04c7936 100644
--- a/liw.cronish
+++ b/liw.cronish
@@ -56,8 +56,7 @@ journal.annex:
git annex sync --content
work-backups:
- trigger-file: /media/liw/hammer-backup/obnam-repo
- trigger-age: 900
+ interval: 900
command: |
if [ -e /media/liw/hammer-backup/obnam-repo ]
then