Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Matthew Tovey <mtovey@mail.cern.ch>
Subject: Re: Inserting a system reboot in crontab script
Date: 1996/11/15	[thread overview]
Message-ID: <328C5E70.48EE@mail.cern.ch> (raw)
In-Reply-To: 328B6DD7.5887@vttsvic1.telecom.com.au


Simon Wing-Tang wrote:
> 
> Benjie Gandionco wrote:
> >
> > Is it possible to insert a system reboot in a crontab script?
> > I want to do a reboot in the middle of a script and then continue
> > right where it left off.

> still can't think
> of why you'd want to reboot in the middle of a script though ?

We had an occasion where we wanted to install a whole bunch of patches
that required a reboot after each bundle (and on a whole bunch of
machines). 
The solution we came up with was to write a script to do this remotely,
using rsh. The script can do some operations, trigger a reboot, wait for
the machine to come back up, then continue.

However, we never used this - instead we managed to create one big
monster-patch-bundle and did it all in one go...

Cheers,

Matt
-- 
Matt Tovey 				http://wwwcn.cern.ch/~mtovey

	I'm moving flat. Check the web page for new contact details.



  reply	other threads:[~1996-11-15  5:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-11-12  5:00 Inserting a system reboot in crontab script Benjie Gandionco
1996-11-13  5:00 ` Mark landin
1996-11-13  5:00 ` Jim Zahrndt
1996-11-13  5:00 ` Andreas Woerner t-
1996-11-13  5:00 ` Paul D. Chapin
1996-11-18  5:00   ` Michael Mohr
1996-11-14  5:00 ` Simon Wing-Tang
1996-11-15  5:00   ` Matthew Tovey [this message]
1996-11-18  5:00 ` Benjie Gandionco
1996-11-18  5:00   ` Tim Mooney
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox