Forum Replies Created
-
AuthorReplies
-
Thank you all for your comments. I wanted to send out a brief update and also ask another question.
I ended up using Kevin’s code snippit and have a simple tps proc on my outbound thread that delays sending the scheduling messages for a few seconds.
We run this thread in its own process because we were worried the sleep command would have an impact on other code and threads in the same process.
However, I saw an option in any of the TPS selectors where you can “Run in a Sub-Thread” – are any of you familiar with this?
The reason that I am faced with looking into all of this is as follows:
We have a system that we are sending ADT and SIU messages to. This system needs these messages on different ports. We have one thread setup for ADT and another setup for SIU.
Our sending system sends the ADT and SIU messages very quickly, one after the other – and we send them on to the receiving system – they seem to arrive at just about the same exact time – so close together that sometimes the receiving system processes the SIU before they get the ADT and that is a problem for them.
Because of that, we need a way to delay all SIU messages by a few seconds, so that we are sure the ADT is received and processed first.
Thanks for posting that! However, I was told that the “sleep” command pauses the entire process and this could potientally impact any other threads running under this same process – is there another way to do this without using “sleep”?
I am also interested in attending, as long as I can get the permission of my higher ups. Thanks everyone for your feedback!
I am considering actually sending my alerts to my email address and then configuring rules that will automatically forward the alert via text message to multiple phones (I have a work and a personal cell phone). If anyone is interested, after I set things up I will report back here.
We recently upgraded to 5.7rev2 as well and I am interested to see how I can better tweak the alerts.
Chris, Can you give another example of where you might use a mask?
Thanks for the advice Jim and Sundeep – anyone think there is an easy way to automate this process (of using a hex editor to “fix” the file) – perhaps either a windows script or a unix shell script?
Maybe this is a silly question but do you know what the default encoding is on a unix system – is it UTF-8?
The default encoding on the 7edit application is:
windows-1252 (Windows Latin-1)
It will let me change it to a lot of other standards (US-ASCII, ISO, UTF, etc..) but I am not sure which one is best for unix…
-
AuthorReplies