On 25-Feb-07, at 7:41 PM, Rony wrote:
Mrugesh Karnik wrote:
On Sunday 25 Feb 2007 00:35:06 Rony wrote:
I need the script for using wget in a cron job for timed downloads at night and disconnect by morning. There are Triband NU users who use the script for night downloads. So if a script copy could be posted, I would be grateful.
Tell me exactly what it needs to do, I'll be happy to write you one.
I need to start a dialup connection using wvdial and wget the iso download. The connection must close before 6 AM.
It is a Reliance FWP Freedom at Night plan where downloads are unlimited between 10 pm to 6 am. The speed was too slow though on the first day. I connect using 'sudo wvdial reliance' and manually give 'sudo route add default ppp0'. Then give 'wget url'. I will start the download but I need to stop it just before 6 am and wget should keep the partial file resumable for next day.
script is being written - what is the command to stop the download?