mutt/offlineimapsyncquick.sh @ 1cf909cf8e5a

More random stuff.
author Steve Losh <steve@stevelosh.com>
date Thu, 28 Apr 2011 17:12:48 -0400
parents d3e0c0c7ff37
children (none)
#!/bin/sh

PID=`cat ~/.offlineimap/pid`
ps aux | grep "[ ]$PID" && kill $PID

/usr/local/bin/offlineimap -q -o -u Noninteractive.Quiet &>/dev/null &

exit 0