diff options
author | Guangxiong Lin <[email protected]> | 2022-09-08 03:21:29 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2022-09-08 03:21:29 +0800 |
commit | 63b341cacff018e9608b2584a3c49fa20487470f (patch) | |
tree | c42f0a5372487d54cb4d74a1bd774de42df37758 | |
parent | b94a510c571f3471ac13a5213d2db106b5bcf8db (diff) | |
download | dotfiles-63b341cacff018e9608b2584a3c49fa20487470f.tar.gz dotfiles-63b341cacff018e9608b2584a3c49fa20487470f.tar.bz2 dotfiles-63b341cacff018e9608b2584a3c49fa20487470f.zip |
Make crontab more robust
-rw-r--r-- | crontab | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |