[sniffer] Re: AW: [sniffer] Re: Update pacing...
ouch I forgot in my previous message: Great script Andrew - thank you! Markus From: Message Sniffer Community [mailto:[EMAIL PROTECTED] On Behalf Of Colbeck, AndrewSent: Thursday, June 22, 2006 6:01 PMTo: Message Sniffer CommunitySubject: [sniffer] Re: AW: [sniffer] Re: Update pacing... FWIW I take the belt and suspenders approach. The rulebase notification by email does trigger a Message Sniffer update script on my system, but I don't rely on it solely. In addition, I also use an "at" schedule every four hours. As in Markus' (and Bill's) sample, I use the -N parameter for wget so as to avoid bandwidth abuse by only downloading the file if it is newer than the one I've already got. The specific time I schedule it for I determined from this page: http://kb.armresearch.com/index.php?title=Message_Sniffer.TechnicalDetails.LogFiles.Submit because after I download a rulebase, I upload my logs. Still on my to-do list is updating my script so as to compress my logs before I upload them. Andrew 8) From: Message Sniffer Community [mailto:[EMAIL PROTECTED] On Behalf Of Markus GuflerSent: Thursday, June 22, 2006 2:15 AMTo: Message Sniffer CommunitySubject: [sniffer] Re: AW: [sniffer] Re: Update pacing... Instead of sending a mail for each update I've disabled the email-notifcation (REM) and changed the wget-line as followswget -N -nv http://www.sortmonster.net/Sniffer/Updates/%LicenseID%.snf -O %LicenseID%.new.gz --header=Accept-Encoding:gzip --http-user=sniffer --http-passwd=ki11sp8m -a snfupd.txt As Alex sugested I've added the -nv switch in order to avoid unneccessary data. I've also changed the last parameter from -o to -a in order to append the results of each update to snfupd.txt. So I have a logfile where I can easily see time and result of each update. Her's an example: 13:32:22 URL:http://www.sortmonster.net/Sniffer/Updates/x.snf [2923892] -> "t918t3eg.new.gz" [1]New RuleBase File Tested Good! 15:43:22 URL:http://www.sortmonster.net/Sniffer/Updates/x.snf [2929252] -> "t918t3eg.new.gz" [1]New RuleBase File Tested Good! 17:54:41 URL:http://www.sortmonster.net/Sniffer/Updates/x.snf [2943056] -> "t918t3eg.new.gz" [1]New RuleBase File Tested Good! 20:08:18 URL:http://www.sortmonster.net/Sniffer/Updates/x.snf [2952731] -> "t918t3eg.new.gz" [1]New RuleBase File Tested Good! Markus > -Original Message-> From: Message Sniffer Community> [mailto:sniffer@sortmonster.com] On Behalf Of Hirthe, Alexander> Sent: Tuesday, June 20, 2006 9:46 AM> To: Message Sniffer Community> Subject: [sniffer] AW: [sniffer] Re: Update pacing...>> Hello,>> I switched from just downloading the file every xx hours to> the snfupd.cmd form the Imail Package.>> The only thing I additionally modified is a '-nv' switch for wget.> With this you'll only get the result of the download, not a> line for every 50 kB.>> Alex>> > -Ursprüngliche Nachricht-> > Von: Message Sniffer Community> > [mailto:sniffer@sortmonster.com] Im Auftrag von Pete McNeil> > Gesendet: Montag, 19. Juni 2006 23:46> > An: Message Sniffer Community> > Betreff: [sniffer] Re: Update pacing...> >> > Hello Harry,> >> > Monday, June 19, 2006, 4:47:14 PM, you wrote:> >> > > My script does not check for update first. Is there a> sample that> > > does do that that you can point me to?> >> > This page describes automated updates and lists several scripts.> >> > http://kb.armresearch.com/index.php?title=Message_Sniffer.Tech> nicalDetails.AutoUpdates> >> > The one I recommend most for Winx based systems is> > ImailSnifferUpdateTools.zip> >> > Don't let the name fool you - if you are NOT using IMail> the scripts> > are still great --- you will only need to find another way to call> > them if your system does not provide a "program alias"> functionality.> >> > Hope this helps,> >> > _M> >> > --> > Pete McNeil> > Chief Scientist,> > Arm Research Labs, LLC.> >> >> > #> > This message is sent to you because you are subscribed to> > the mailing list .> > To unsubscribe, E-mail to: <[EMAIL PROTECTED]> To> switch to> >
[sniffer] Re: AW: [sniffer] Re: Update pacing...
FWIW I take the belt and suspenders approach. The rulebase notification by email does trigger a Message Sniffer update script on my system, but I don't rely on it solely. In addition, I also use an "at" schedule every four hours. As in Markus' (and Bill's) sample, I use the -N parameter for wget so as to avoid bandwidth abuse by only downloading the file if it is newer than the one I've already got. The specific time I schedule it for I determined from this page: http://kb.armresearch.com/index.php?title=Message_Sniffer.TechnicalDetails.LogFiles.Submit because after I download a rulebase, I upload my logs. Still on my to-do list is updating my script so as to compress my logs before I upload them. Andrew 8) From: Message Sniffer Community [mailto:[EMAIL PROTECTED] On Behalf Of Markus GuflerSent: Thursday, June 22, 2006 2:15 AMTo: Message Sniffer CommunitySubject: [sniffer] Re: AW: [sniffer] Re: Update pacing... Instead of sending a mail for each update I've disabled the email-notifcation (REM) and changed the wget-line as followswget -N -nv http://www.sortmonster.net/Sniffer/Updates/%LicenseID%.snf -O %LicenseID%.new.gz --header=Accept-Encoding:gzip --http-user=sniffer --http-passwd=ki11sp8m -a snfupd.txt As Alex sugested I've added the -nv switch in order to avoid unneccessary data. I've also changed the last parameter from -o to -a in order to append the results of each update to snfupd.txt. So I have a logfile where I can easily see time and result of each update. Her's an example: 13:32:22 URL:http://www.sortmonster.net/Sniffer/Updates/x.snf [2923892] -> "t918t3eg.new.gz" [1]New RuleBase File Tested Good! 15:43:22 URL:http://www.sortmonster.net/Sniffer/Updates/x.snf [2929252] -> "t918t3eg.new.gz" [1]New RuleBase File Tested Good! 17:54:41 URL:http://www.sortmonster.net/Sniffer/Updates/x.snf [2943056] -> "t918t3eg.new.gz" [1]New RuleBase File Tested Good! 20:08:18 URL:http://www.sortmonster.net/Sniffer/Updates/x.snf [2952731] -> "t918t3eg.new.gz" [1]New RuleBase File Tested Good! Markus > -Original Message-> From: Message Sniffer Community> [mailto:sniffer@sortmonster.com] On Behalf Of Hirthe, Alexander> Sent: Tuesday, June 20, 2006 9:46 AM> To: Message Sniffer Community> Subject: [sniffer] AW: [sniffer] Re: Update pacing...>> Hello,>> I switched from just downloading the file every xx hours to> the snfupd.cmd form the Imail Package.>> The only thing I additionally modified is a '-nv' switch for wget.> With this you'll only get the result of the download, not a> line for every 50 kB.>> Alex>> > -Ursprüngliche Nachricht-> > Von: Message Sniffer Community> > [mailto:sniffer@sortmonster.com] Im Auftrag von Pete McNeil> > Gesendet: Montag, 19. Juni 2006 23:46> > An: Message Sniffer Community> > Betreff: [sniffer] Re: Update pacing...> >> > Hello Harry,> >> > Monday, June 19, 2006, 4:47:14 PM, you wrote:> >> > > My script does not check for update first. Is there a> sample that> > > does do that that you can point me to?> >> > This page describes automated updates and lists several scripts.> >> > http://kb.armresearch.com/index.php?title=Message_Sniffer.Tech> nicalDetails.AutoUpdates> >> > The one I recommend most for Winx based systems is> > ImailSnifferUpdateTools.zip> >> > Don't let the name fool you - if you are NOT using IMail> the scripts> > are still great --- you will only need to find another way to call> > them if your system does not provide a "program alias"> functionality.> >> > Hope this helps,> >> > _M> >> > --> > Pete McNeil> > Chief Scientist,> > Arm Research Labs, LLC.> >> >> > #> > This message is sent to you because you are subscribed to> > the mailing list .> > 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]>> >> >> >> >> >>>> #> This message is sent to you because you are subscribed to> the mailing list .> 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]>>>
[sniffer] Re: AW: [sniffer] Re: Update pacing...
Instead of sending a mail for each update I've disabled the email-notifcation (REM) and changed the wget-line as followswget -N -nv http://www.sortmonster.net/Sniffer/Updates/%LicenseID%.snf -O %LicenseID%.new.gz --header=Accept-Encoding:gzip --http-user=sniffer --http-passwd=ki11sp8m -a snfupd.txt As Alex sugested I've added the -nv switch in order to avoid unneccessary data. I've also changed the last parameter from -o to -a in order to append the results of each update to snfupd.txt. So I have a logfile where I can easily see time and result of each update. Her's an example: 13:32:22 URL:http://www.sortmonster.net/Sniffer/Updates/x.snf [2923892] -> "t918t3eg.new.gz" [1]New RuleBase File Tested Good! 15:43:22 URL:http://www.sortmonster.net/Sniffer/Updates/x.snf [2929252] -> "t918t3eg.new.gz" [1]New RuleBase File Tested Good! 17:54:41 URL:http://www.sortmonster.net/Sniffer/Updates/x.snf [2943056] -> "t918t3eg.new.gz" [1]New RuleBase File Tested Good! 20:08:18 URL:http://www.sortmonster.net/Sniffer/Updates/x.snf [2952731] -> "t918t3eg.new.gz" [1]New RuleBase File Tested Good! Markus > -Original Message-> From: Message Sniffer Community> [mailto:sniffer@sortmonster.com] On Behalf Of Hirthe, Alexander> Sent: Tuesday, June 20, 2006 9:46 AM> To: Message Sniffer Community> Subject: [sniffer] AW: [sniffer] Re: Update pacing...>> Hello,>> I switched from just downloading the file every xx hours to> the snfupd.cmd form the Imail Package.>> The only thing I additionally modified is a '-nv' switch for wget.> With this you'll only get the result of the download, not a> line for every 50 kB.>> Alex>> > -Ursprüngliche Nachricht-> > Von: Message Sniffer Community> > [mailto:sniffer@sortmonster.com] Im Auftrag von Pete McNeil> > Gesendet: Montag, 19. Juni 2006 23:46> > An: Message Sniffer Community> > Betreff: [sniffer] Re: Update pacing...> >> > Hello Harry,> >> > Monday, June 19, 2006, 4:47:14 PM, you wrote:> >> > > My script does not check for update first. Is there a> sample that> > > does do that that you can point me to?> >> > This page describes automated updates and lists several scripts.> >> > http://kb.armresearch.com/index.php?title=Message_Sniffer.Tech> nicalDetails.AutoUpdates> >> > The one I recommend most for Winx based systems is> > ImailSnifferUpdateTools.zip> >> > Don't let the name fool you - if you are NOT using IMail> the scripts> > are still great --- you will only need to find another way to call> > them if your system does not provide a "program alias"> functionality.> >> > Hope this helps,> >> > _M> >> > --> > Pete McNeil> > Chief Scientist,> > Arm Research Labs, LLC.> >> >> > #> > This message is sent to you because you are subscribed to> > the mailing list .> > 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]>> >> >> >> >> #> This message is sent to you because you are subscribed to> the mailing list .> 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]>>>