From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from linserver.romuald.net.eu.org ([63.228.150.209]) by speech.braille.uwo.ca with esmtp (Exim 3.36 #1 (Debian)) id 1HqlZN-0006Q4-00 for ; Wed, 23 May 2007 03:47:41 -0400 Received: (qmail 30767 invoked by uid 1000); 23 May 2007 00:46:13 -0700 Date: Wed, 23 May 2007 00:46:13 -0700 From: Gregory Nowak To: "Speakup is a screen review system for Linux." Subject: Re: help with a bash script Message-ID: <20070523074613.GG27228@localhost.localdomain> References: <036001c79cd4$c1eaf870$6601a8c0@yellobow> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; x-action=pgp-signed Content-Disposition: inline In-Reply-To: <036001c79cd4$c1eaf870$6601a8c0@yellobow> X-PGP-Key: http://www.romuald.net.eu.org/pubkey.asc User-Agent: Mutt/1.5.13 (2006-08-11) X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.1.9 Precedence: list Reply-To: "Speakup is a screen review system for Linux." List-Id: "Speakup is a screen review system for Linux." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 May 2007 07:47:41 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 There's no point in reinventing the wheel here. What you want to do is most likely already done by the cron-apt package under debian, and debian-based distros I imagine as well. Greg On Tue, May 22, 2007 at 07:53:12PM -0500, Scott Berry wrote: > Hello guys and gals, > > One more question here. I want to create a bas script for my Dad which does the following: > 1 Does apt-get update and when apt-get update gets done it knows that it has been completed successfully. > 2. Do apt-get dist-upgrade and knows when it gets done. > 3. Do an apt-get clean. > Also for those who have more experience than me I have a question too. Is it wiser for me to run that in a shell console of it's own or just have him run that under gnome terminal. My goal at the very end is to cron this so this can run at night for him. > > Scottat updates can be > _______________________________________________ > Speakup mailing list > Speakup@braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup - -- web site: http://www.romuald.net.eu.org gpg public key: http://www.romuald.net.eu.org/pubkey.asc skype: gregn1 (authorization required, add me to your contacts list first) - -- Free domains: http://www.eu.org/ or mail dns-manager@EU.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD4DBQFGU/FF7s9z/XlyUyARAl+wAJYyhj8xYQk31H4ZSq93FqRQ3PXcAJ458A8s lwlDyktVhlq8SzaablnveA== =YX2R -----END PGP SIGNATURE-----