From: "Benjie Gandionco" <benjieg@corp.nsc.com>
Subject: Re: Inserting a system reboot in crontab script
Date: 1996/11/18 [thread overview]
Message-ID: <01bbd4ff$66cbc580$99d3bb8b@pc-blg.nsc.com> (raw)
In-Reply-To: 01bbd05d$a6174760$99d3bb8b@pc-blg.nsc.com
Here's the scenario:
I run the backup with vdump at nights. I first backup to disk since this
is faster and I have to backup more than one file system to tape which I
don't think I can do with a simple vdump. I would have liked to boot to
single-user mode before doing the actual backup, but I found out that the
cron job doesn't continue after switching to single-user mode. So I just
bring the network down before doing the backup. After I backup to disk, I
start up the network so that users can log in. I like my system to start
up clean so I instead opted for a reboot instead of restarting the network.
After this, I ran the backup to tape script. All this is done by cron.
Regarding bringing down the system for backups, I would have liked to keep
the system running, but a key user wanted the system brought down so the
cutoffs for backed up data would be clear, not like when users are still
transacting while doing a backup.
I still have little experience with Unix and any comments on the above
scenario is highly appreciated.
Benjie Gandionco <benjieg@corp.nsc.com> wrote in article
<01bbd05d$a6174760$99d3bb8b@pc-blg.nsc.com>...
> 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.
>
> Thanks.
>
>
next prev parent reply other threads:[~1996-11-18 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 ` Paul D. Chapin
1996-11-18 5:00 ` Michael Mohr
1996-11-13 5:00 ` Mark landin
1996-11-13 5:00 ` Jim Zahrndt
1996-11-13 5:00 ` Andreas Woerner t-
1996-11-14 5:00 ` Simon Wing-Tang
1996-11-15 5:00 ` Matthew Tovey
1996-11-18 5:00 ` Benjie Gandionco [this message]
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