.awesome/mail_loop.sh

15 lines
297 B
Bash
Raw Normal View History

#!/bin/bash
# mymail_gmail_loop.sh
MAILDIR=/tmp/$USERNAME-mail_loop
mkdir --mode=700 $MAILDIR
while [ 1 ]; do
2014-08-15 22:11:53 +04:00
val=$(~/.config/awesome/mail_loop_mymail.py)
echo $val > $MAILDIR/mymail_count
sleep 30
2014-08-15 22:11:53 +04:00
val=$(~/.config/awesome/mail_loop_gmail.py)
echo $val > $MAILDIR/gmail_count
sleep 30
done