Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

EXIT function

Status
Not open for further replies.

jinkys

Programmer
Sep 11, 2003
67
0
0
GB
Hi

I want to pass some an input to a unix script thats uses the unix mailx cooamnd, thet script being called from the EXIT function. Any ideas how I can do this?
I have tried the following, where the output file is created and the cat command is used to pass to mailx, but the file isn't created in time. I was hoping to do it all in one rule

=TEXT(MessageIn+VALID(EXIT( "script.sh", " "," ")

Any ideas?
 
It's ok I've worked it out

EXIT( "script.sh '"+MessageIn+"'" , " "," ")
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top