Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Disowning CRON

by hardburn (Abbot)
on Jun 05, 2003 at 15:09 UTC ( [id://263367]=note: print w/replies, xml ) Need Help??


in reply to Disowning CRON

Instead of doing this from the daemon program itself, why not run a shell script from cron that checks for the daemon running and starts a new one if it's not? Seems to be a lot simpler than trying to do everything in the daemon code.

----
I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
-- Schemer

Note: All code is untested, unless otherwise stated

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2024-04-19 06:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found