| CODENOTIFIER | HelpYou are not signed inSign in |
Project: PUNKsearch
Revision: 541
Author: ysoldak
Date: 25 Aug 2008 13:49:31
Changes:Diff:| ... | ...@@ -24,7 +24,7 @@ | |
| 24 | 24 | |
| 25 | 25 | # Determine the range of IPs to crawl (depends on day of week and if "hosts.csv" present) |
| 26 | 26 | DAY_OF_WEEK=$FULL_SCAN_DAY |
| 27 | [ -f $PUNKSEARCH_HOME/hosts.csv] && DAY_OF_WEEK=`date +"%u"` | |
| 27 | [ -f $PUNKSEARCH_HOME/stats/hosts.csv] && DAY_OF_WEEK=`date +"%u"` | |
| 28 | 28 | |
| 29 | 29 | case $DAY_OF_WEEK in |
| 30 | 30 | $FULL_SCAN_DAY) |
| ... | ...@@ -33,7 +33,7 @@ | |
| 33 | 33 | ;; |
| 34 | 34 | *) |
| 35 | 35 | echo "Start update of known hosts" |
| 36 | RANGE="hosts.csv" | |
| 36 | RANGE="stats/hosts.csv" | |
| 37 | 37 | ;; |
| 38 | 38 | esac |
| 39 | 39 |