bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tar command


From: Hans-Bernhard Broeker
Subject: Re: tar command
Date: 12 Feb 2001 14:42:50 GMT

Claudio Rocha <address@hidden> wrote:
> Hi, 
> I have backup script starting at 11:00pm (crontab) and I'm using the
> multi-volume option (-M): 
> tar -cMvf /dev/rmt/0 /usr4/* 
> Using the crontab to start my script the second tape never ask me to insert
> the second tape, but if I start the script by my myself the tar command ask
> me to insert the second tape. How can I fix this problem? 

I suspect you can't.  Interactive processes can't be started from a
cron job.  A process started by cron doesn't have a controlling
terminal, so it has no place to write that 'insert next tape, then
press <Return>' type of request to, and to read your keypresses from,
afterwards. 

So: don't do that, then. Start your 'tar' sessions interactively.
-- 
Hans-Bernhard Broeker (address@hidden)
Even if all the snow were burnt, ashes would remain.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]