LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 04-20-2004, 03:41 PM   #1
mustang05
LQ Newbie
 
Registered: Dec 2003
Posts: 26

Rep: Reputation: 15
Writing a script in Red Hat 7.3


I need to know how I can write a script in the Command Prompt for Red Hat 7.3. The scripts function would be to reboot the linux machine at a certain time. Would anyone know how I would go about doing this?

Last edited by mustang05; 04-20-2004 at 04:20 PM.
 
Old 04-20-2004, 04:07 PM   #2
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
What exactly do you mean with a pre-determined schedule? If you know at what times you want to reboot the computer then you could just add entries in the crontab.
 
  


Reply


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
REd Hat + file permission + writing protection Einar Schlereth Linux - Software 14 01-27-2005 08:09 AM
Device Driver Writing Red Hat 8 & 9 unicorn21 Red Hat 2 12-14-2003 04:01 AM
How to stop Red Hat script Skyline Programming 3 08-24-2003 06:32 PM
need help with /script/citrix/red hat 7.0 Joachim Linux - Software 7 06-30-2003 05:20 AM
Writing files from Hdd to CDRW in Red Hat 8 jefx Linux - General 4 05-15-2003 04:39 AM


All times are GMT -5. The time now is 12:50 AM.

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