I saw that in the man. What are the rest of the time besides dns-time,
connect-time, read-time? Thanks.

On Sun, Aug 9, 2020 at 5:50 AM Tim Rühsen <tim.rueh...@gmx.de> wrote:

> 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?
> >
>
> --
Regards,
Peng

Reply via email to