Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: External monitoring of a Perl program

by nardo (Friar)
on Sep 18, 2001 at 02:59 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (6)
As of 2024-04-23 09:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found