[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] Wget Suggestion
From: |
Tim Ruehsen |
Subject: |
Re: [Bug-wget] Wget Suggestion |
Date: |
Fri, 9 Nov 2012 08:59:18 +0100 |
User-agent: |
KMail/1.13.7 (Linux/3.2.0-4-amd64; KDE/4.8.4; x86_64; ; ) |
Hello horse6,
why not simply using a shell script ?
I don't exactly get what you need, but it should look something like:
for ((;;)); do
wget -nc -O my.htm www.example.com
test -e my.htm && exit 0 # exit successful download
sleep 15 # wait 15sm than try again
done
You could also check wget's return code.
Tim
Am Thursday 08 November 2012 schrieb horse6:
> Dear Sir:
>
> how use wget.exe to Memory-Resident?
>
> my mean is ( add parameter -MR:n )
>
> as: "wget.exe https://any.com/my.htm --no-check-certificate -nc -b -MR:15
> -Omy.htm" if not file "my.htm", auto download & after download ,every 15
> seconds loop to check isfile("my.htm") or not....
>
> ** when i get & read "my.htm", i will auto delete it & wait to next new
> my.htm....
>
> thank you very much!
>
> 2012-11-08
>
>
>
> horse6