Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Triggering Perl Scripts

by arhuman (Vicar)
on Apr 23, 2001 at 20:45 UTC ( [id://74766]=note: print w/replies, xml ) Need Help??


in reply to Triggering Perl Scripts

To my mind, the CRON solution is the better one,
But If you can't (or dont want to) use it
(only root's allowed cron, Windoze boxes without cron, not used to CRON syntax...)
You can simply write a perl script that'll check for the existence of a file, process it (and move/delete it)
if it's present, and then sleep 5 mins (in an infinite loop).

Quick and dirty but simple...<br

"Only Bad Coders Badly Code In Perl" (OBC2IP)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (8)
As of 2024-04-24 10:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found