mutt/offlineimapsync.sh @ 7e478a1eb6ed

vim: undodir
author Steve Losh <steve@stevelosh.com>
date Wed, 09 Feb 2011 16:26:40 -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