Changeset 7699


Ignore:
Timestamp:
2004-07-02T13:24:01+12:00 (20 years ago)
Author:
kjdon
Message:

added in -t 2 to teh args for wget to make it stop after two tries if it can't get a file, not 25 as the default is

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/collection/DownloadJob.java

    r7697 r7699  
    205205    // Build parameter string. Note that we never clobber, and we continue if possible
    206206
    207     // want to always download newer files,  convert non-relative links to relative, always use directories
    208     String command = Gatherer.config.getWGetPath() + " -N -k -x "; // + " -nc -c ";
     207    // want to always download newer files,  convert non-relative links to relative, always use directories, and only try twice to get a file before giving up
     208    String command = Gatherer.config.getWGetPath() + " -N -k -x -t 2 "; // + " -nc -c ";
    209209
    210210    if (no_parents) {
Note: See TracChangeset for help on using the changeset viewer.