diff options
author | Lars Wirzenius <liw@liw.fi> | 2013-10-12 16:38:43 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2013-10-12 16:38:43 +0100 |
commit | 44b622c7691d7870e05992d194228318c826714e (patch) | |
tree | edd7a7e8dcb112dd4626a5ca16a6cda92eb2e264 /liw.cronish | |
download | liw-dot-files-44b622c7691d7870e05992d194228318c826714e.tar.gz |
Initial import
Diffstat (limited to 'liw.cronish')
-rw-r--r-- | liw.cronish | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/liw.cronish b/liw.cronish new file mode 100644 index 0000000..a86091d --- /dev/null +++ b/liw.cronish @@ -0,0 +1,36 @@ +offlineimap: + interval: 60 + timeout: 120 + command: offlineimap -u quiet + +GTD: + interval: 300 + timeout: 300 + command: | + set -eu + cd $HOME/GTD + if bzr status | grep . > /dev/null + then + bzr commit -m sync + bzr merge --pull + bzr push + else + bzr merge --pull + bzr push + fi + +wotsap: + trigger-file: /home/liw/.wotsapdb + trigger-age: 604800 + command: | + if [ -e /home/liw/bin/update-wotsap ] + then + /home/liw/bin/update-wotsap + else + touch /home/liw/.wotsapdb + fi + +annex: + interval: 300 + timeout: 120 + command: cd $HOME/annex && git annex --quiet sync |