note
Anonymous Monk
<p> To guard against the infinite loop / leapsecond / 59 second minute <c> my $failsafe = 0;
$time += 60 until localtime($time) =~ /$on_at:/ or $failsafe++ > 10_000;</c>
<p> Adjust the failsafe cutoff until its just large enough but not too large :) If it slows down this approach change it :) maybe use [strptime]
1176366
1176656
1