mutt/offlineimapsync.sh @ 9bbd28435e0e

vim: lots
author Steve Losh <steve@stevelosh.com>
date Mon, 09 May 2011 16:34:24 -0400
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