Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

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?
Replies are listed 'Best First'.
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.

    www.perlskripts.com

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2015-07-28 03:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (251 votes), past polls