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
and put something like this in fred.pl0,15,30,45 * * * * /home/projectX/fred.pl >fred.out 2>&1
my @found = glob '/data/projectX/ftpin/*' or exit;
One world, one people
In Section
Seekers of Perl Wisdom