On Wednesday, August 18, 2004, 9:32:58 AM, John wrote:

JS> I'm using an automatic update script to keep my rulebase up to date. This
JS> script runs periodically through the day and it also runs in response to the
JS> emails that come when the rulebase gets updated by the SortMonster.

JS> All hail the SortMonster!

:-)

JS> Anyway. The heavy lifting in that script is a line like:

JS> c:\winnt\wget.exe
JS> http://www.sortmonster.net/Sniffer/Updates/mysnfcode.snf
JS> -N -O mysnfcode.new.gz --header=Accept-Encoding:gzip --http-user=sniffer
JS> --http-passwd=password -o snfupd.txt

JS> I'm doing something wrong. Everytime the script fires it pulls the file,
JS> even if it isn't newer. I thought the -N parameter was supposed to limit
JS> that. What am I missing?

It looks right. I can't guess what's not working with that, but I can
say this. Since you are triggering your script with our update
notifications as well as your periodic schedule - you should probably
just drop the periodic schedule.

Our rulebase compilers send the update notification immediately after
a successful compile. That should be the only time a new rulebase is
available.

Hope this helps,
_M





This E-Mail came from the Message Sniffer mailing list. For information and 
(un)subscription instructions go to 
http://www.sortmonster.com/MessageSniffer/Help/Help.html

Reply via email to