dotfiles/scripts/prefix/bin/msmtp-runqueue-on-notify

12 lines
189 B
Text
Raw Normal View History

2017-08-21 11:56:07 +02:00
#!/bin/sh
while true
do
# Wait here
inotifywait -qq -e modify /home/eeva/.msmtpqueue
# Send
echo "Queue modified. Calling runqueue…"
/home/eeva/prefix/bin/msmtp-runqueue
done