in reply to Schedule::Cron determine next run time
"I get the error Undefined subroutine &main::UpdateFile ... What I'm I doing wrong?"
Exactly what the error message is telling you: you haven't defined UpdateFile().
Look at the Schedule::Cron SYNOPSIS:
sub dispatcher { ... } ... my $cron = new Schedule::Cron(\&dispatcher);
-- Ken
|
|---|