diff options
author | Lars Wirzenius <liw@liw.fi> | 2015-03-21 10:08:31 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2015-03-21 10:08:31 +0200 |
commit | 48ff8f7f2d7f58d64a4034e2d5bf67cd87e7e635 (patch) | |
tree | 6e71f32f03c1b9d5b09aba0a14591f1e73d69c44 /liw.cronish | |
parent | b0fdfa16ae82b77f8bd3ca1aa95da5cf8ec5e7e5 (diff) | |
download | liw-dot-files-48ff8f7f2d7f58d64a4034e2d5bf67cd87e7e635.tar.gz |
Add to liw.cronish job to backup my Jenkins
Diffstat (limited to 'liw.cronish')
-rw-r--r-- | liw.cronish | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/liw.cronish b/liw.cronish index 870ae77..f0eec70 100644 --- a/liw.cronish +++ b/liw.cronish @@ -46,3 +46,12 @@ journal.annex: cd $HOME/Journal/journal.annex git annex add . git annex sync --content + +jenkinstool-jenkins-backup: + interval: 3600 + timeout: 600 + command: | + if ping -c1 jenkins > /dev/null + then + obnam-backup jenkinstool-jenkins + fi |