Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Disowning CRON

by Dog and Pony (Priest)
on Jun 05, 2003 at 16:30 UTC ( #263404=note: print w/replies, xml ) Need Help??


in reply to Disowning CRON

Well, either fork off the process as soon as you've realized you need a new daemon, or simply start the script in the background, freeing it from cron.
You have moved into a dark place.
It is pitch black. You are likely to be eaten by a grue.

Replies are listed 'Best First'.
Re: Re: Disowning CRON
by daveime (Novice) on Jun 05, 2003 at 16:53 UTC
    Many thanks to hardburn, zby, daeve, Dog and Pony !!

    I'll try starting as a background from cron ... that seems the easiest solution.

    Dave
      If you're writing in a Linux box (i cant vouch for the other unixes) you can check out the list of start-up scripts in /etc/init.d.

      A few scripts are written to be 're-startable', and will find and restart the process in question when run with the option '-restart'.

      These scripts would give you a good idea of how they look for a process already running, in order to stop it, and start it again.

      Sam

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://263404]
help
Chatterbox?
[stonecolddevin]: damn where's a working cblast? looks like several of them are out of commission
[erix]: Tanktalus home node has one
[stonecolddevin]: erix thanks mate
[stonecolddevin]: also lol @ "I stomped a crap"
[stonecolddevin]: Disciplus i was just amazed he's returned after the thorough stomp that BrowserUk and several other monks gave him for spreading crap info
[stonecolddevin]: i will admit i find the responses to his threads incredibly entertaining
[stonecolddevin]: erix what is this wizardy? there's no sound for me :-(
[stevieb]: he comes and goes every few years.

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2017-06-22 20:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (529 votes). Check out past polls.