X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/615048bfd1613d6277505cf205e726fdee6677f6..0d89e0b38f04e0dc6fd0e2b51efa044bd3ccfc5a:/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