diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/httracker/functions | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/httracker/functions b/lib/httracker/functions index 659553a..b2a48ef 100644 --- a/lib/httracker/functions +++ b/lib/httracker/functions @@ -45,7 +45,7 @@ function httracker_get { fi # Get each URL - httrack ${OPTS} ${url} + httrack ${OPTS} ${url} > $LOG if [ "$?" == "0" ]; then # Mark as downloaded @@ -74,7 +74,7 @@ function httracker_get_incremental { fi # Grab URLs from the network - httrack ${OPTS} --list ${URLS} + httrack ${OPTS} --list ${URLS} > $LOG } # Get SemanticScuttle parameter @@ -120,6 +120,9 @@ function httracker_initialize { LOCKFILE="${TMP}/`basename $0`.lock" httracker_check_lockfile httracker_set_lockfile + + # Logfile + LOG="${TMP}/`basename $0`.log" } # Cleanup environment |