mutt/offlineimapsync.sh @ aa91ffa992b9

vim: performance
author Steve Losh <steve@stevelosh.com>
date Tue, 08 Feb 2011 17:00:31 -0500
parents d3e0c0c7ff37
children c6446e280dab
#!/bin/sh

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

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

exit 0