Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: Trigger a cronjob in perl

by jvector (Friar)
on May 29, 2009 at 14:52 UTC ( [id://766876]=note: print w/replies, xml ) Need Help??


in reply to Re: Trigger a cronjob in perl
in thread Trigger a cronjob in perl

There is a machine I work on which has an arrangement like this. (Although as has been pointed out, the cron script is not 'triggered'.)

The cron shell script runs each 5 minutes and just looks in an 'inbound' directory to see if there is anything there. If so it calls a second script (this one in Perl) which does some stuff with the file and then moves the file to a 'done' directory or to a 'failed' dir if it did not like the inbound file data . Simple and works.


No time to do clever stuff with signature.

Log In?
Username:
Password:

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

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

    No recent polls found