Subject: | Wrong range for seconds causes infinite loop |
Hi Roland
You have a bug in Schedule::Cron when specifying cron times with
seconds, eg:
* * * * * */10
Your @RANGE for seconds should be 0,59, not 0.60:
my @RANGES = (
[ 0,59 ],
[ 0,23 ],
[ 0,31 ],
[ 0,12 ],
[ 0,7 ],
[ 0,59 ] ### WAS [0,60]
);
At the moment, the cron daemon goes into an infinite loop and chews CPU
big time!
thanks
Clint