Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-20-2004, 05:28 AM   #1
LQ Newbie
Registered: Aug 2004
Posts: 1

Rep: Reputation: 0
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.
Old 08-20-2004, 06:09 AM   #2
Senior Member
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
MySQL restart script? Fuwex Debian 2 08-17-2005 02:23 PM
run script when restart ust Linux - Software 4 08-25-2004 03:13 PM
Script to restart natd and watch it rspurlock Programming 0 03-31-2004 09:18 AM
bash script for network restart munkeh Programming 8 11-10-2003 05:00 PM
I wants to run the script(xx) while restart the system. help pls... fmohideen76 Linux - General 2 07-11-2002 01:15 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:25 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration