configuration/services/notmuch/notmuch

12 lines
178 B
Plaintext
Raw Normal View History

2019-10-29 19:40:41 +01:00
#!/bin/sh -e
2017-06-23 11:58:13 +02:00
# check for internet connection
2019-10-29 19:40:41 +01:00
ip route ls | grep -q '.'
2017-06-23 11:58:13 +02:00
# check if the gpg-agent is running
2019-10-29 19:40:41 +01:00
pgrep gpg-agent > /dev/null
2017-06-23 11:58:13 +02:00
2019-11-27 14:45:44 +01:00
notmuch new --quiet 2>&1
2019-10-29 19:40:41 +01:00
2020-05-13 10:59:53 +02:00
exec sleep 1m