Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Event handler

by SimonClinch (Chaplain)
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


Comment on Re: Event handler
Select or Download Code

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 imbibing at the Monastery: (6)
As of 2014-12-21 00:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (100 votes), past polls