LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Restart script (http://www.linuxquestions.org/questions/linux-newbie-8/restart-script-220068/)

blablaman 08-20-2004 05:28 AM

Restart script
 
Hi, I'm a bit of a Linux Noob.

I want to be able to restart a linux application automaticaly twice or three times aday without me logging in to do it manually.
This is a voice server that loses sound after a few hours being up, however a restart does the trick & it works for a few more hours.
Since its an older version of ventrilo & no longer supported by the developer.
Im not always around to do it so my clan can be with out voice server for hours untill I get back.

Im wondering if this is possable & if some script guru could give me pointers if it is possable.

ppuru 08-20-2004 06:09 AM

you can use cron to do the start/stop.

#crontab -e

* */3 * * * /path/to/the/script_that_will_stop_and_start_your_software

cron will run this script every 3 hours.


All times are GMT -5. The time now is 06:35 AM.