minor tweak of ParseCron sentence
parent
bf94310aef
commit
49a46c4504
|
@ -28,7 +28,7 @@ handle remainder => sub {
|
|||
my $cron = new Schedule::Cron::Events($crontab) or return;
|
||||
my ($sec, $min, $hour, $day, $month, $year) = $cron->nextEvent;
|
||||
$year = $year+1900;
|
||||
my $text = sprintf qq(Event will start next at %02d:%02d:%02d on %d %s, %d), $hour, $min, $sec, $day, $mon[$month], $year;
|
||||
my $text = sprintf qq(Cron will start this event next at %02d:%02d:%02d on %d %s, %d), $hour, $min, $sec, $day, $mon[$month], $year . '.';
|
||||
return $text if $_;
|
||||
return;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue