Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: Cron or running process?

by haoess (Curate)
on Apr 28, 2004 at 20:51 UTC ( #348949=note: print w/ replies, xml ) Need Help??

in reply to Cron or running process?

Option 3 is the reason why cron was invented. Option 3 is much more work: Your process can be stopped, killed, it can hang etc. Every the machine reboots, you have to restart your process by hand. Use cron.

Comment on Re: Cron or running process?
Re: Re: Cron or running process?
by Elijah (Hermit) on Apr 28, 2004 at 21:22 UTC
    Not that I am an advocate for running process as my first post has indicated but restarting the app by hand is not neccessary if you add an entry to "/etc/rc.d/rc.local" (For RH, Fedora) and a similar file path for other distros. This entry will start the script automagically when the OS boots.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (13)
As of 2014-12-22 17:04 GMT
Find Nodes?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?

    Results (121 votes), past polls