diff options
author | Lars Wirzenius <liw@liw.fi> | 2018-01-01 22:40:16 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2018-01-01 22:40:16 +0200 |
commit | 6ab738506a88fcff3a95c90b1bd8ddb32ef2425c (patch) | |
tree | b7b429192d8a1a6977f4d9b20a6c66590be43b07 /liw.cronish | |
parent | 382b0795f252ac35c07f6cbfe6d32e4d0451cee5 (diff) | |
download | liw-dot-files-6ab738506a88fcff3a95c90b1bd8ddb32ef2425c.tar.gz |
Add: ssh-backup job
Diffstat (limited to 'liw.cronish')
-rw-r--r-- | liw.cronish | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/liw.cronish b/liw.cronish index ef1a1e4..2a37d6c 100644 --- a/liw.cronish +++ b/liw.cronish @@ -14,13 +14,20 @@ wotsap: touch /home/liw/.wotsapdb fi -gpg_refresh: - trigger-file: /home/liw/.gnupg/refresh.stamp - trigger-age: 604800 - command: | - gpg2 --refresh-keys - gpg2 --send-keys 44E17740B8611E9C - touch /home/liw/.gnupg/refresh.stamp +ssb_backup: + trigger-file: /home/liw/data/ssb/ssb2-home.timestamp + trigger-age: 86400 + command: | + rsync -a --delete ssb2:. /home/liw/data/ssb/ssb2-home/. + touch /home/liw/data/ssb/ssb2-home.timestamp + +#gpg_refresh: +# trigger-file: /home/liw/.gnupg/refresh.stamp +# trigger-age: 604800 +# command: | +# gpg2 --refresh-keys +# gpg2 --send-keys 44E17740B8611E9C +# touch /home/liw/.gnupg/refresh.stamp # branchablelogs: # trigger-file: /home/liw/data/branchable-logs/timestamp |