Skip Menu |

This queue is for tickets about the Schedule-Cron CPAN distribution.

Report information
The Basics
Id: 54193
Status: rejected
Priority: 0/
Queue: Schedule-Cron

People
Owner: Nobody in particular
Requestors: trlorenz [...] hotmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in:
  • 0.98
  • 0.99
Fixed in: (no value)



Subject: get_next_execution_time spins in infinite loop
use Schedule::Cron; for (1 .. 100) { warn "$_ ", time, ' ', Schedule::Cron->new(sub {})- Show quoted text
>get_next_execution_time('* * * * * */10');
sleep 1; } Didn't have time to dig to figure out the problem. This spins out of control at the turn of every minute. Redhat and Debian. 0.97 is ok. TRL
Didn't have time to dig to figure out the problem. This spins out of Show quoted text
> control at the turn of every minute. Redhat and Debian. >
The problem is on line 113 where the @RANGES entry for seconds is [0,60] instead of [0,59]
On Sat Mar 20 11:06:14 2010, DRTECH wrote: Show quoted text
> Didn't have time to dig to figure out the problem. This spins out of
> > control at the turn of every minute. Redhat and Debian. > >
> > The problem is on line 113 where the @RANGES entry for seconds is [0,60] > instead of [0,59]
Thanks Clint. This ticket is a duplicate of #50325 which was fixed in 0/2009 (though only available through github yet). Blame on me, I will do a 1.00_1 developer release this week. Promised ;-)