X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/d61d45c5ae73022fbe4144b929b748b7672c5358..5e7a6b583983976fc67c3f6a013274347d183308:/bin/offlineimap.cron diff --git a/bin/offlineimap.cron b/bin/offlineimap.cron index 3c26e5f..2ce6585 100755 --- a/bin/offlineimap.cron +++ b/bin/offlineimap.cron @@ -5,7 +5,7 @@ monitor() { local pid=$1 i=0 while ps $pid &>/dev/null; do - if (( i++ > 5)); then + if (( i++ > 10)); then echo "Max checks reached. Sending SIGKILL to ${pid}..." >&2 kill -9 $pid; return 1 fi