Hello John,
Any timing that works for you and is reasonable is just fine.
Reasonable means, not every 10 seconds/minutes.
Some send their file once per day --- others find that to be too large
and so they send it once per update. Both of these are good
practice.
If you are going to send your log file more than once every few hours
(such as once per hour or once per udpate) then you will need to make
sure you include something random in the name to avoid a possible
collision. Our log processing software is pretty fast, but now that
we're doing updates every 120 minutes or so there is always the risk
that a previous log file might not yet have been handled.
Hope this helps,
Thanks,
_M
Monday, July 10, 2006, 6:33:07 PM, you wrote:
Reading through the updated script, I notice you are uploading the log file
whenever the script runs. I currently upload the log file once per day.
Pete, what is the preferred timing for uploading the log file?
John T
eServices For You
Seek, and ye shall find!
-Original Message-
From: Message Sniffer Community [mailto:[EMAIL PROTECTED] On Behalf
Of
Colbeck, Andrew
Sent: Friday, July 07, 2006 6:24 PM
To: Message Sniffer Community
Subject: [sniffer] My rulebase download and log upload script
The last thing before I leave for the weekend...
I finally got around to updating my download/upload script so that I can
upload compressed logs.
In the course of doing that, I found that my upgraded version of wget
has changed its behaviour; as of the 1.10.x series, if you specify -O to
specify the target filename, various options are ignored including the
-N for download only if server side is newer. Therefore, ever since I
upgraded my wget, I've been downloading a compressed rulebase file on
*each* run.
Some of this script is antique and some of it is new. I just downloaded
the standard download script that Bill Landry ushered into this world,
and my script was certainly informed by the discussions of that on this
list.
(I'm not trying to replace that script, I'm just giving credit where
credit is due.)
My .cmd file script is attached as a .txt file; as I mentioned a while
back, I use both the IMail external script mailbox method to launch
this file when SortMonster/ARM sends me my notification, and I also run
it on a schedule with the AT command so that one of them will work to
get timely updates.
Andrew 8)
#
This message is sent to you because you are subscribed to
the mailing list sniffer@sortmonster.com.
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]
--
Pete McNeil
Chief Scientist,
Arm Research Labs, LLC.
#
This message is sent to you because you are subscribed to
the mailing list sniffer@sortmonster.com.
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]