aboutsummaryrefslogtreecommitdiff
path: root/crontab
diff options
context:
space:
mode:
Diffstat (limited to 'crontab')
-rw-r--r--crontab6
1 files changed, 3 insertions, 3 deletions
diff --git a/crontab b/crontab
index 2339f33..a2c65b3 100644
--- a/crontab
+++ b/crontab
@@ -1,6 +1,6 @@
-*/30 * * * * /usr/bin/newsboat -x reload
+*/30 * * * * command -v newsboat > /dev/null && newsboat -x reload
*/10 * * * * ~/bin/mailsync
*/10 * * * * command -v vdirsyncer > /dev/null && vdirsyncer sync
-00 */3 * * * /usr/bin/trash-empty -f 30
+00 */3 * * * command -v trash-empty > /dev/null && /usr/bin/trash-empty -f 30
00 * * * * [ -e ~/.fehbg ] && DISPLAY=:0 ~/.fehbg
-00 * * * * /usr/sbin/anacron -t ~/.dotfiles/anacrontab -S ~/.cache/anacron/spool
+00 * * * * command -v anacron > /dev/null && /usr/sbin/anacron -t ~/.dotfiles/anacrontab -S ~/.cache/anacron/spool