diff --git a/cron_MINUTE.sh b/cron_MINUTE.sh index dc1bc49..5ae6e8d 100755 --- a/cron_MINUTE.sh +++ b/cron_MINUTE.sh @@ -11,8 +11,6 @@ MY_PATH="`dirname \"$0\"`" # relative MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized ME="${0##*/}" -countMErunning=$(ps auxf --sort=+utime | grep -w $ME | grep -v -E 'color=auto|grep' | wc -l) -[[ $countMErunning -gt 2 ]] && echo "$ME already running $countMErunning time" && exit 0 source $HOME/.profile # CORRECT PATH