Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Re: Re: Leave it running

by edan (Curate)
on Dec 04, 2003 at 07:21 UTC ( #312137=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Leave it running
in thread Leave it running

Try this, inside your perl script:

$SIG{HUP} = 'IGNORE';

Then try running it in the background (script.pl &).

Or, to act like a real daemon process, read perlipc under the 'Complete Dissociation of Child from Parent' section.

--
3dan

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2022-09-27 17:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer my indexes to start at:




    Results (122 votes). Check out past polls.

    Notices?