http://www.perlmonks.org?node_id=907419


in reply to Event handler

You first need to choose a scheduler. cron is the most usual, being a standard feature of the O/S, although autosys provides more advanced functionality. There are plenty of others too, like Tivoli Workload Scheduler.

Suppose it's cron, then you would do something like

0,15,30,45 * * * * /home/projectX/fred.pl >fred.out 2>&1
and put something like this in fred.pl
my @found = glob '/data/projectX/ftpin/*' or exit;

One world, one people