Posted: Tue Mar 31, 2009 4:56 am Post subject: Re: 2 questions (script triggering / logging)
Sentinel
Joined: 05 Mar 2009 Posts: 888 Location: UK
skoesters wrote:
i would like to know if its possible to trigger a script after queue "X" gets a message. I found something like "trigger script "X" when QMGR starts"
It sure is.
Theres lots of posts about this, heres one I found by doing a quick search. The last post in the thread should give you a clue as to what you need to do...
Make sure you understand TRIGTYPE to get the trigger type thats right for you.
As for looking at when a queue was opened for writing.... If you look at the Q status you will see the PIDs that have an open output count. This may help you achieve what you want.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum