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? >
signature.asc
Description: OpenPGP digital signature
