Using wget to run a script -- how to avoid re-tries
Hi, I am using wget on Windows to run a Python script via a URL. My problem is that the script takes up to 3 hours to execute and wget will hit the URL multiple times as it has not had a response within an adequate timeframe. This 'breaks' things... Which flag should I use on the wget call to stop hitting the URL multiple times? I am thinking -T 0, but the warning on the site made me think twice about this... (Please do not lower the default timeout value with this option unless you know what you are doing ) If you could include an example in any response, that would be great... Pls copy me on any responses as I am not subscribed to this list. Thx, Simon Williams Client Technology Barclays Global Investors [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
Re: Using wget to run a script -- how to avoid re-tries
* Williams, Simon BGI SF [EMAIL PROTECTED] [030724 20:53]: I am using wget on Windows to run a Python script via a URL. My problem is that the script takes up to 3 hours to execute and wget will hit the URL multiple times as it has not had a response within an adequate timeframe. This 'breaks' things... Which flag should I use on the wget call to stop hitting the URL multiple times? I am thinking -T 0, but the warning on the site made me think twice about this... (Please do not lower the default timeout value with this option unless you know what you are doing ) If you could include an example in any response, that would be great... Pls copy me on any responses as I am not subscribed to this list. GNU Wget Manual Invoking Download Options `-t NUMBER' `--tries=NUMBER' Set number of retries to NUMBER. Specify 0 or `inf' for infinite retrying. Ni. -- Sauvez l'Europe des Brevets sur les Logiciels : http://www.gnu.org/philosophy/savingeurope.fr.html