tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Richard Rogers <R.M.Rogers () staffs ! ac ! uk>
To: tru64-unix-managers
Subject: SUMMARY: giving keyboard input to a process started under cron
Date: Thu, 16 Oct 1997 12:59:07 +0000	[thread overview]
Message-ID: <96078618110498.tru64-unix-managers.marc@archive.invalid> (raw)


Original query:

> We normally run our backups nightly under cron. However, for systems 
> with sufficient disk to require a second tape, there is a problem 
> with this, as dump/vdump want confirmation from the keyboard when the 
> second tape is loaded. Is there a way to provide such input to a 
> process started under cron?

Thanks to everyone who responded. It became evident that I should 
have provided one more crucial bit of information, namely that we are 
not using a tape stacker of any kind, so operator intervention is 
required to change the tape. The position in this case was summed up 
by alan@nabeth.cxo.dec.com, who wrote

	I don't think you can get what you want if you're using an
	operator to change tapes.  If you have a random access or
	sequential media changer you may be able to use expect to
	read the prompts and then offer the desired response.  I
	think expect is part of the Tk/Tcl kit.  For sequential
	media changers an "mt offline" command is enough to get
	a tape change.  For random access libraries and loaders,
	you may want to look at the Media Robot Utility.

So it looks as though we're stuck with it, for the moment at least.

Thanks again

Richard

-----------------------------------
Richard Rogers
Information Technology Services
Staffordshire University
Tel: 01785 (+44 1785) 353395
E-mail: R.M.Rogers@staffs.ac.uk

                 reply	other threads:[~1997-10-16 12:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
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