On Monday 28 November 2005 03:25, Scott Leighton wrote:
On Sunday 27 November 2005 5:28 pm, Carlos E. R. wrote:
No, only this change:
test -e $SPOOL/$BASE && { case $BASE in cron.hourly) TIME="-cmin +60 -or -cmin 60" ;; cron.daily) TIME="-cmin +1440 -or -cmin -1440" ;; cron.weekly) TIME="-ctime +7 -or -ctime 7" ;; cron.monthly) NOW=`date +%s` ....
You might want to check the signs, your's does not at all match mine....
test -e $SPOOL/$BASE && { case $BASE in cron.hourly) TIME="-cmin +60 -or -cmin 60" ;; cron.daily) TIME="-cmin +1440 -or -cmin 1440" ;;
argh, I missed that. Yes Carlos, your -1440 tells find to find all files changed *less than* 1440 minutes ago and your +1440 to find all files changed more than 1440 minutes ago. So the only files left untouched by your change are ones changed exactly 1440 minutes ago