I have a strange problem with sending messages via textsecure-cmd. I have a simple wrapper script (bash) that uses textsecure to send it's message to my mobile. I want to use it for my monitoring to send alerts.
If I manually fire the wrapper script on the cli, the message arrives on my mobile. If my monitoring software tries to send a message via the wrapper script nothing arrives. I started some debug logging in my wrapper script and it shows that everything should be okay. The textsecure command returns 0.
There is no issue with the user running the script as I when I manually try it I use the same user as the monitoring software uses.
Is there any explanation why the message only arrives if the wrapper script is fired manually?
Thanks a lot for any idea. If you need more information I will provide it
tobi