--- run-crons-0.3.2 +++ run-crons-0.3.3 @@ -84,7 +84,7 @@ #>= 31 days, 5 min -=> +44645 min TIME="-cmin +44645" ;; esac - find ${LOCKDIR} -name cron.$BASE $TIME -exec rm {} \; &>/dev/null || true + find ${LOCKDIR} -name cron.$BASE $TIME -type f | xargs rm -f fi # if there is no touch file, make one then run the scripts @@ -104,4 +104,4 @@ # Clean out bogus cron.$BASE files with future times touch ${LOCKDIR} -find ${LOCKDIR} -newer ${LOCKDIR} -exec /bin/rm -f {} \; &>/dev/null || true +find ${LOCKDIR} -newer ${LOCKDIR} -exec /bin/rm -f {} \;