From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pih-relay04.plus.net ([212.159.14.131]) by speech.braille.uwo.ca with esmtp (Exim 3.36 #1 (Debian)) id 1FXEVc-0002uL-00 for ; Sat, 22 Apr 2006 05:34:32 -0400 Received: from [84.92.191.40] (helo=orchid.perfumed-bath.co.uk) by pih-relay04.plus.net with esmtp (Exim) id 1FXEV7-0007Gx-5P for speakup@braille.uwo.ca; Sat, 22 Apr 2006 10:34:01 +0100 Received: from gena by orchid.perfumed-bath.co.uk with local (Exim 4.61) (envelope-from ) id 1FXEd1-000138-Sh for speakup@braille.uwo.ca; Sat, 22 Apr 2006 10:42:11 +0100 Date: Sat, 22 Apr 2006 10:42:11 +0100 From: Georgina Joyce To: "Speakup is a screen review system for Linux." Subject: Re: Scheduling downloads Message-ID: <20060422094211.GA3988@genaj.plus.com> References: <20060422002341.GA2929@genaj.plus.com> <20060422004301.GA22566@linden.yelavich.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060422004301.GA22566@linden.yelavich.home> User-Agent: Mutt/1.5.11+cvs20060403 X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.1.8rc1 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: Sat, 22 Apr 2006 09:34:33 -0000 Hi How would this script look? #!bin/sh # schedule download of dvd if[ date %T = 00:01:00 ]; then wget -c ftp./ fi I can't see how to tell wget to put the download in a specified directory as I guess that it would put it in /etc/cron.daily/. I wondered if the above is anywhere like what I need? On Sat, Apr 22, 2006 at 10:43:01AM +1000, Luke Yelavich wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Sat, Apr 22, 2006 at 10:23:41AM EST, Georgina Joyce wrote: > > Hi All > > > > My ISP requests that I schedule downloads during off peak hours and as I'm looking at downloading a DVD image, I'm wondering how I can start my download. > > > > Of course I could wait until midnight and start the download but I wondered if there was a more automated way. Even to stop at 08:00 and resume the following midnight. I know that I could use cron but I would need to specify a time and the download location, which seems a little scary. I'd usually use lftp but maybe another client might offer a solution? Just thought, might wget do the job? Any suggestions anyone? > > This is something that is easily scriptable. You could write one script > to start the download, and then have another script to find out the > process ID of the currently running script for the download, and kill > it. Wget is good, but make sure you use the command-line flag to resume > downloads at a later time when you want the download to be resumed. > > hth > - -- > Luke Yelavich > GPG key: 0xD06320CE > (http://www.themuso.com/themuso-gpg-key.txt) > Email & MSN: themuso@themuso.com > ICQ: 18444344 > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.2.2 (GNU/Linux) > > iD8DBQFESXwVjVefwtBjIM4RAiMPAKCc7pTBONyU0ZcxHuUnB5x0oNqzdwCg40sS > w1OlqRxNAZ9VnQyYKUudz0k= > =Ghbi > -----END PGP SIGNATURE----- > > _______________________________________________ > Speakup mailing list > Speakup@braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup > ---end quoted text--- -- 2E0AXU Blindness Advocacy Self Help (BASH Online) bashonline-subscribe@yahoogroups.com Freedom & Power provided by debian GNU Linux