Hello Serge,


Sunday, July 6, 2008, 5:05:35 PM, you wrote:


>

Hi

 

In our case (satellite connexion) we have a lot of cases where snf2check fail, 

So our current batch keep retrying download every 10 minutes until snf2check succeed (that is done by creating a file error.txt)

If I use getRulebase.cmd, what happens if snf2check fail ? or if wget does not complete ? or other problems ? ...


The script calling feature will continue to run getRulebase.cmd until the rulebase is updated. It will wait 180 seconds between attempts by default.


>

 

My current wget is optimized  as follow

wget -N http://www.sortmonster.net/Sniffer/Updates/zydt3crn.snf --tries=10 --wait=5 --random-wait -o %DD%result.txt --header=Accept-Encoding:gzip --http-user=sniffer --http-passwd=xxxxxxxx


Of course, you can make similar adjustments to the wget call in the getRulebase.cmd script.


You can also use your own script if you wish.


_M



-- 

Pete McNeil

Chief Scientist,

Arm Research Labs, LLC.

#############################################################
This message is sent to you because you are subscribed to
  the mailing list <[email protected]>.
To unsubscribe, E-mail to: <[EMAIL PROTECTED]>
To switch to the DIGEST mode, E-mail to <[EMAIL PROTECTED]>
To switch to the INDEX mode, E-mail to <[EMAIL PROTECTED]>
Send administrative queries to  <[EMAIL PROTECTED]>



Reply via email to