Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Perl watcher daemon

by Crackers2 (Parson)
on Jan 18, 2012 at 22:27 UTC ( #948636=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
            if (system(@args1) != 0) {
                    logEntry ("No repeater.pl is running, attempting to re
    +start");
                    $repeater;
            }
    
  2. or download this
            if (system(@args1) != 0) {
                    logEntry ("No repeater.pl is running, attempting to re
    +start");
                    $repeater = Proc::Background->new('/etc/squid/repeater
    +/lib/repeater.pl');
            }
    
  3. or download this
            if (!$repeater->alive()) {
                    logEntry ("No repeater.pl is running, attempting to re
    +start");
                    $repeater = Proc::Background->new('/etc/squid/repeater
    +/lib/repeater.pl');
            }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (8)
As of 2021-12-01 09:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?