diff options
-rw-r--r-- | config | 3 | ||||
-rwxr-xr-x | httracker | 2 | ||||
-rwxr-xr-x | scuttler | 5 |
3 files changed, 7 insertions, 3 deletions
@@ -2,7 +2,8 @@ MIRRORS="/var/cache/sites/arquivo/conteudo/links.sarava.org/assets" FEED="https://links.sarava.org/rss?sort=date_desc&count=100" TMP="/tmp/httracker" -URLS="$TMP/urls.txt" +URLS="$TMP/urls-httracker.txt" +URLS_SCUTTLER="$TMP/urls-scuttler" LEVEL="1" EXT_LEVEL="1" FILESIZE="" @@ -25,4 +25,4 @@ fi httracker_iterate # Cleanup -rm -rf $TMP +rm -rf $URLS @@ -21,6 +21,9 @@ dbpass=`httracker_scuttle_config dbpass` dbname=`httracker_scuttle_config dbname` dbhost=`httracker_scuttle_config dbhost` +# So we can run both applications in parallel +URLS="$URLS_SCUTTLER" + # Get URLs from database URLS=`mktemp -p ${TMP}` chown links.links ${URLS} @@ -34,4 +37,4 @@ httracker_sqlquery "select bAddress from sc_bookmarks;" > ${URLS} httracker_iterate # Cleanup -rm -rf $TMP +rm -rf $URLS |