Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Event handler

by SimonClinch (Deacon)
on May 31, 2011 at 08:48 UTC ( #907419=note: print w/ replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://907419]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2016-07-23 19:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (221 votes). Check out past polls.