LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 02: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 03:20 PM.
 
Old 04-20-2004, 03: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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:04 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
Open Source Consulting | Domain Registration