Re: Using crontab to update Debian

1999-03-12 Thread Ben Messinger
snip Quoting Shaleh ([EMAIL PROTECTED]): On 09-Mar-99 Paulo Henrique Baptista de Oliveira wrote: Hi Debian users, In my country (Brazil) I only have to pay one tax between 0:00 and 6:00 AM independent of call time. I'm start thinking to get my home machine live at night

Re: Using crontab to update Debian

1999-03-11 Thread John Galt
There is a holdover command from Berkely Unix called yes used almost exclusively in scripting--what it does is continuously applies yes^M (the ^M is a representation of the return key) [wups--apparently it replies only y now] while it's active. So what your script line would be is yes | apt-get

Re: Using crontab to update Debian

1999-03-11 Thread Justin Akehurst
On Wed, 10 Mar 1999, John Galt wrote: There is a holdover command from Berkely Unix called yes used almost exclusively in scripting--what it does is continuously applies yes^M (the ^M is a representation of the return key) [wups--apparently it replies only y now] while it's active. So what

Re: Using crontab to update Debian

1999-03-11 Thread Ryan Yeske
On Wed, Mar 10, 1999 at 11:43:50PM -0700, John Galt wrote: There is a holdover command from Berkely Unix called yes used almost exclusively in scripting--what it does is continuously applies yes^M (the ^M is a representation of the return key) [wups--apparently it replies only y now] while

Re: Using crontab to update Debian

1999-03-11 Thread Kirk Hogenson
I wrote: Here is another, much simpler, and probably better, idea. Stay up late one night and start apt-get dist-upgrade yourself, and once downloading starts, go to sleep. Use cron or at to automatically hang up the phone when the expensive rates begin again. (i.e., just put poff in the

RE: Using crontab to update Debian

1999-03-10 Thread Shaleh
On 09-Mar-99 Paulo Henrique Baptista de Oliveira wrote: Hi Debian users, In my country (Brazil) I only have to pay one tax between 0:00 and 6:00 AM independent of call time. I'm start thinking to get my home machine live at night and set crontab to use pon or wvdial (I have two

Re: Using crontab to update Debian

1999-03-10 Thread Paulo Henrique Baptista de Oliveira
A mirror is much bandwith for me. I didnt test yesterday. I will test tonight when I was at home. Thank you, Paulo Henrique Quoting Shaleh ([EMAIL PROTECTED]): On 09-Mar-99 Paulo Henrique Baptista de Oliveira wrote: Hi Debian users, In my

RE: Using crontab to update Debian

1999-03-10 Thread John Galt
Pipe yes to it. On Tue, 9 Mar 1999, Shaleh wrote: On 09-Mar-99 Paulo Henrique Baptista de Oliveira wrote: Hi Debian users, In my country (Brazil) I only have to pay one tax between 0:00 and 6:00 AM independent of call time. I'm start thinking to get my home machine live at

Re: Using crontab to update Debian

1999-03-10 Thread Paulo Henrique Baptista de Oliveira
I put in /etc/cron.daily the following script: [18:42:[EMAIL PROTECTED]:~$more /etc/cron.daily/upgrade_debian #!/bin/sh # # Para atualizar a Debian de madrugada # update-debian cron daily pon sleep 20 apt-get update apt-get -d dist-upgrade [18:42:[EMAIL PROTECTED]:~$ I know that

Re: Using crontab to update Debian

1999-03-10 Thread Kirk Hogenson
Paulo Henrique Baptista de Oliveira wrote: I know that apt-get -d dist-upgrade ask yes, but how do I pipe to it. I tried apt-get -d dist-upgrade | y and doesnt work: y - command not found Thanks,Paulo Henrique Pipe yes to it. I think by Pipe yes to it, he meant to use the

Re: Using crontab to update Debian

1999-03-10 Thread Jason Gunthorpe
On Wed, 10 Mar 1999, Kirk Hogenson wrote: Paulo Henrique Baptista de Oliveira wrote: I know that apt-get -d dist-upgrade ask yes, but how do I pipe to it. I tried apt-get -d dist-upgrade | y and doesnt work: y - command not found Thanks,Paulo Henrique Pipe yes to

Re: Using crontab to update Debian

1999-03-10 Thread Paulo Henrique Baptista de Oliveira
Kirk Hogenson wrote: Paulo Henrique Baptista de Oliveira wrote: I know that apt-get -d dist-upgrade ask yes, but how do I pipe to it. I tried apt-get -d dist-upgrade | y and doesnt work: y - command not found Thanks,Paulo Henrique Pipe yes to it. I think by Pipe

Re: Using crontab to update Debian

1999-03-10 Thread Paulo Henrique Baptista de Oliveira
Jason Gunthorpe wrote: On Wed, 10 Mar 1999, Kirk Hogenson wrote: Paulo Henrique Baptista de Oliveira wrote: I know that apt-get -d dist-upgrade ask yes, but how do I pipe to it. I tried apt-get -d dist-upgrade | y and doesnt work: y - command not found Thanks,