Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: External monitoring of a Perl program

by nardo (Friar)
on Sep 18, 2001 at 02:59 UTC ( #113001=note: print w/replies, xml ) Need Help??


in reply to External monitoring of a Perl program

So long as you can make the programs not fork into the background you can use a simple wrapper like
#!/bin/sh while true do /path/to/program done
or if a perl solution is required
#!/usr/bin/perl while(1) { system('/path/to/program'); }

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (2)
As of 2022-05-25 03:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (84 votes). Check out past polls.

    Notices?