Tagged Questions
2
votes
2answers
221 views
add “check if fetchmail is running” to this script
while ! postqueue -p | grep -q empty; do
sleep 1
done
killall wvdial
this script checks if my mail queue is empty, then disconnects my modem. now i would like to add also a checking to fetchmail ...