Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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: (5)
As of 2015-07-30 06:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (270 votes), past polls