mutt/offlineimapsync.sh @ 2aaa8a59f2a0

zsh: add an optional zshrc_local hook
author Steve Losh <steve@stevelosh.com>
date Tue, 23 Nov 2010 10:01:30 -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