bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Meaning of --timeout


From: Tim Rühsen
Subject: Re: Meaning of --timeout
Date: Sun, 9 Aug 2020 12:50:15 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0

Hi,

--timeout is explained in `man wget`.

In short: it doesn't stop wget after N seconds - it's a shortcut for
setting --dns-timeout + --connect-timeout + --read-timeout.

For such tasks you can easily use the `timeout` command from GNU coreutils.

Regards, Tim

On 08.08.20 21:05, Peng Yu wrote:
> I want to set the time by which wget must finish. But it seems
> --timeout doesn't do so. If I set it to N, wget can not guarantee to
> finish in N seconds. Could anybody explain why --timeout can not be
> used for this purpose? How to achieve this goal?
> 

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]