"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
In reply to Re: Schedule::Cron determine next run time
by kcott
in thread Schedule::Cron determine next run time
by ra93013
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |