Posted: Thu Mar 24, 2005 1:03 pm Post subject: trigger file
Centurion
Joined: 31 Mar 2002 Posts: 104
Hi,
while putting a file on to a remote queue a trigger.txt file is paased as a perameter to amqsput.sh. I want to know how that trigger.txt is generated and what info does that file has , any ideas??
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
I've never heard of a trigger.txt. Since you mentioned amqsput.sh, I'm guessing this is a shell script that wraps amqsput. My guess would be that the trigger.txt file is something somebody in your group created to send to amqsput (via the script) so that a message would be placed on a queue and a program would be triggered.
Do not ask the same question twice!
The way your original message asked this SAME question, I suspect that amqsput.sh is redirecting standard in to amqsput. And amqsput will write the contents of standard in as the body of the message or messages that it produces.
So the answer is "Trigger.txt" contains the contents of the messages that get passed on to your other system.
_________________ I am *not* the model of the modern major general.
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