- SEE ALSO
- COPYRIGHT AND LICENSE
wget-retry - Wget wrapper to retry harder
This document describes version 0.001 of wget-retry (from Perl distribution App-wget-retry), released on 2019-03-28.
Use like you would use wget:
% wget-retry -c -t0 https://example.com/url1 ...
By default, wget doesn't retry harder; only upon disconnection in the middle of downloading (with
-t 0) and on connection refused (with
--retry-connrefused) but not on other network failures, e.g. DNS resolution failure (which can happen sometimes).
This wrapper runs wget then check its exit code. If exit code indicates network failure (4) it will re-run wget.
The number of tries is unlimited, or from the
-t (<--tries>) option. The number of seconds to wait before each try is 10 seconds or from the
Shortcuts: -h, -?.
A comma-separated list of exit statuses to retry. For example,
3,4,5,8 means file I/O, network failure, SSL verification failure, as well as error response from server will make wget-retry rerun wget. The default is . For more details on wget exit statuses, see the wget's manpage.
String. Wget command to use. Defaults to
wget. Can be used to chain several wrappers together.
Please visit the project's homepage at https://metacpan.org/release/App-wget-retry.
Source repository is at https://github.com/perlancar/perl-App-wget-retry.
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=App-wget-retry
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
This software is copyright (c) 2019 by firstname.lastname@example.org.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.