Search Again:

Re: exit level of server triggers

From: Robert Canary
Date: Thursday, January 2, 2003
Time: 1:21:05 am

Not that I am questioning you......well okay so I am a little bit. :-)

But is there something in OG that prevents it. I trap the last line of
output in allot of my ssh commands for processing the exit result. Now
you have to know your proccess and know what your looking for to
evaluate it. But it would be neet if there was something on the ssh
trigger that said
EXPECT Means
last line trap .[000]... is okay
.[020]... NameTaken
.other... is failure



Shawn Hogan wrote:
>
> Robert Canary wrote:
>
> > If I create a trigger that gose and checks to see if an emial name is
> > available how do I use the exit code from the server side script to stop
> > the trigger and report the exit code?
> >
> > Current scenario:
> > I am using ssh to run a check to see if the email name is valid and
> > available. If it is okay then I want the next trigger to go ahead and
> > run which will also ssh and run a process to create the account.
> > However, if that fails for whatever reason, I need to trap that as well.
>
> Not possible with SSH... Optigold can look for failure results within
> interactive protocols (SQL, LDAP, HTTP, HTTPS, XML or FTP).
>
> - Shawn
>
> ----------------------------------
> Shawn D. Hogan
> President, Digital Point Solutions
> http://www.digitalpoint.com
> (858) 452-3696
>
> ---------------------------------------------------
> To subscribe, unsubscribe or to search list archive
> please visit http://www.optigold.com/lists/isp.html
> ---------------------------------------------------

--
robert canary
system services
OhioCounty.Net
rwcanary@ohiocounty.net
(270)298-9331 Office
(270)298-7449 Fax

---------------------------------------------------
To subscribe, unsubscribe or to search list archive
please visit http://www.optigold.com/lists/isp.html
---------------------------------------------------



Messages In This Thread:



Return to Digital Point Solutions' Home Page