[NTLUG:Discuss] OT: Why does remote command over ssh not return control?
Dennis Daupert
ddaupert at sbcglobal.net
Thu Jun 7 07:49:38 CDT 2007
Actually, I ended up going for a kludge. The script I was trying to execute is actually a wrapper around a proprietary binary, and since I don't have binary vision, I can't really tell what it's doing. It didn't like "disown" and wouldn't turn loose on "exec nohup" and adding screen to the prod environment takes an act of God.
But, on the principle that "There's more than one way to do it!" I got the idea of using the at command. I wrote a tiny wrapper containing the at command to the script I actually want to trigger, and now I can run my wrapper remotely over ssh, no problemo.
Thanks everyone for the input; I learned a great deal based on tips and info provided, and those helped get my thought processes out of a rut.
/dennis
More information about the Discuss
mailing list