summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2020-10-15 23:28:35 -0400
committerBenjamin Chausse <benjamin@chausse.xyz>2020-10-15 23:28:35 -0400
commit53262bf6592a00b606ff5fb3306516f9d6e392e4 (patch)
treed06f6f086a6bb8b2fb2fe53ee453addc4fe41db8
parent7212ca89a9287dc9ce686914994ee7f44ecbbc02 (diff)
crontab and dwmblocks compatibility
-rw-r--r--crontab15
1 files changed, 10 insertions, 5 deletions
diff --git a/crontab b/crontab
index 1000446..8bffd12 100644
--- a/crontab
+++ b/crontab
@@ -1,10 +1,15 @@
# Update mutt wizard mail
-*/2 * * * * /usr/bin/mw sync
+*/2 * * * * /usr/bin/mbsync -a
# Update RSS feeds and update dwmblocks
0 * * * * $HOME/.local/bin/newsup
-# Update dotfiles in status bar (signal 5 + 34)
-1 * * * * kill -39 $(pidof dwmblocks)
-# Update time in status bar (signal 6 + 34)
-* * * * * kill -40 $(pidof dwmblocks)
+# Update dotfiles in status bar (signal 7 + 34)
+1 * * * * kill -41 $(pidof dwmblocks)
+# Update time in status bar (signal 8 + 34)
+* * * * * kill -42 $(pidof dwmblocks)
# Update battery in status bar (signal 1 + 34)
* * * * * kill -35 $(pidof dwmblocks)
+# Update vpn in status bar (signal 2 + 34)
+* * * * * kill -36 $(pidof dwmblocks)
+# Update date in status bar (signal 6 + 34)
+0 0 * * * kill -40 $(pidof dwmblocks)
+