SCO 5.0 setup auto reboot


 
Thread Tools Search this Thread
Operating Systems SCO SCO 5.0 setup auto reboot
# 1  
Old 12-12-2008
SCO 5.0 setup auto reboot

Hello,
How do a schedule a reboot of a SCO 5.0 box like every wednesday at 3:30 am. Doesn't have a /etc/crontab file like our Suse boxes have. Thanks for any help.
# 2  
Old 12-12-2008
I have to ask, why do you need to reboot everyweek? Its not Windows...
# 3  
Old 12-12-2008
Quote:
Originally Posted by Ikon
I have to ask, why do you need to reboot everyweek? Its not Windows...
It's the old story where support and site thinking if they reboot the box on a regular basis it will go faster. Well no it's a old sco box and this won't do anything, but I will do this for them to just show nothing will happen and they will need to fork out money for a new server.
# 4  
Old 12-12-2008
Sometimes user applications leave stuff in that eventually causes the system to crash. If you had mentioned Syncronics/Realworld I would have known for certain and the weekly would have been just about right.

This is a 3 step process. First is a change in /usr/spool/cron/crontabs/root to add a line for the date and time plus the name of the file you wish to activate. I use reboot and put it in place of the standard one.
Then the reboot file itself with an init command to generate a reboot.
Then a modification to /etc/default/boot for the time delay and default level.

Mine go at 3:01 on Sunday morning to avoid the DST issue.
# 5  
Old 12-13-2008
That is how I implemented it, could be done simpler.
Cron needs to be shut down and restarted before the mod takes effect. Or the system rebooted.
# 6  
Old 12-17-2008
Quote:
Originally Posted by edfair
That is how I implemented it, could be done simpler.
Cron needs to be shut down and restarted before the mod takes effect. Or the system rebooted.
I tried to put /etc/shutdown -r now in a shell script and have cron run that, but the system didn't boot. Should I just call /etc/reboot from cron directly like
Code:
30 3 * * 3 /etc/reboot

Thanks.
# 7  
Old 12-19-2008
You don't have to reboot or restart Cron to change your root crontab.

<Cron needs to be shut down and restarted before the mod takes effect. Or the system rebooted.>

No, you don't all you have to reboot or restart cron, what you can do is while you are are in /usr/spool/cron/crontabs is type "crontab root", this loads the new root crontab file into the cron.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Sysconfig setup window keeps showing after reboot

so here's teh deal: Solaris 11.3 zone created from a template created by configuring a zone, running sysconfig unconfigure on it and then saved by a zfs send and receive. create the new zoneconfig, import the template FS using zfs recieve. Now everytime we reboot the new zone it makes us do... (0 Replies)
Discussion started by: os2mac
0 Replies

2. Red Hat

Disable xen machine to auto start on reboot

Hello Guys - I need to disable xen server not to start when the server is rebooted. 1) What is the parameter to be used to do this..below is the entry in my config file... on_reboot = "restart" 2) What is the default behaviors of the xen on reboot ? in case we comment this line from config... (0 Replies)
Discussion started by: saurabh84g
0 Replies

3. Shell Programming and Scripting

Auto Remote SSH key setup

Hi Guys!! I am trying to get around the complex situation, i have a task to complete, Like to setup the remote SSH key automatically by providing the root login details, ip and ssh port once to the script input and once its tested and accepted the next ssh should be password less, script... (0 Replies)
Discussion started by: SilvesterJ
0 Replies

4. SCO

SCO console login auto fills *

OS: SCO Openr Server 6.0 MP4 HW: Dell R710 Server When I try to login to the console, the login prompt keeps filling with * even when I presss enter after the password prompt the login starts filling automatically with the multiple asterisks. This is happening on the console only and if I... (0 Replies)
Discussion started by: atish0
0 Replies

5. SCO

SCO Reboot Issue

Hi, We are using SCO UNIX 7.1.3 and the server recently started rebooting by itself. Do anyone know how can i create a dump or crash dump while the server rebooots? Your quick help on this is really appreciated. Regards, Ravikumar R (1 Reply)
Discussion started by: rrb2009
1 Replies

6. Solaris

IPMP setup removed, comes back with reboot

Hi all, I have 3 Sun v490's running Solaris 10. Each one has 2 zones on it. I changed the IP address and configuration on them this weekend, where ce0 was once the primary IP nic, now ce2 is. Previously, ce0 and ce4 were set up with IP multipathing, but I tried to remove that by changing the... (2 Replies)
Discussion started by: jackiea
2 Replies

7. Shell Programming and Scripting

Include xhost + at auto reboot script

Below is the startup/stop script for vncservers by end-user. How can xhost + command include in this script? Please help. Thank you. #!/bin/sh # # Startup/Stop script for vncservers for some users. # case "$1" in 'start') /bin/rm /tmp/.X11-unix/X0 /bin/su - applprod -c... (0 Replies)
Discussion started by: KhawHL
0 Replies

8. Solaris

SB150 auto reboot

My SB150 machine rebooted itself this week several times, anyone have idea what the problem is, a blaster? :) kidding (2 Replies)
Discussion started by: howhowzz
2 Replies

9. SCO

Reboot the sco server

Dear sir, I am using sco open server 5.06.How we can reboot the system without using root password? Whar are the permision need to change to do this. Thanks, Mostafizur Rahman (3 Replies)
Discussion started by: rahmanm
3 Replies

10. UNIX for Advanced & Expert Users

SCO Unix printer waiting for auto-retry

Running SCO 5.0.5 with all the updates available on a Compaq 800 and just ran into this problem of the printer that is hooked up to /dev/lp0 &or /dev/lp. The printer has been working fine for 5 plus years and still works on another machine. I've uninstalled & re-installed the parallel port and... (0 Replies)
Discussion started by: cfaiman
0 Replies
Login or Register to Ask a Question