From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,c0b68e7f7e519d7b X-Google-Attributes: gidfee84,public X-Google-Thread: 1020c6,c0b68e7f7e519d7b X-Google-Attributes: gid1020c6,public From: Matthew Tovey Subject: Re: Inserting a system reboot in crontab script Date: 1996/11/15 Message-ID: <328C5E70.48EE@mail.cern.ch>#1/1 X-Deja-AN: 196639351 sender: news@news.cern.ch (USENET News System) x-nntp-posting-host: axpdp1.cern.ch references: <01bbd05d$a6174760$99d3bb8b@pc-blg.nsc.com> <328B6DD7.5887@vttsvic1.telecom.com.au> content-type: text/plain; charset=us-ascii organization: CERN mime-version: 1.0 newsgroups: comp.unix.admin,comp.unix.osf.osf1 x-mailer: Mozilla 2.0 (X11; I; OSF1 V3.2 alpha) 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.