filePro/email from Unix script file

Christopher Yerry christopheryerry at yahoo.com
Wed Dec 14 23:34:12 PST 2005


>Good afternoon,
>
>I am trying to help my Minneapolis office (Super
Radiator Coils) with 
an idea 
>they have with filePro on SCO Unix.  I made a real
simple script file 
for them 
>to run a filePro report to a /tmp file.  Then
immediately email the 
/tmp file.
>
>But... what happens when the filePro report runs and
doesn't happen to 
select 
>any records?  The script file continues and emails a
blank report!
>
>Is there a quick way to kill the script file when the
records selected 
is "0"?

You can "shell " the script from filepro .. altho I do
think test -s is a mch better solution

Christopher Yerry
CM Software
Twin Cities- MN/ Hudson, WI

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the Filepro-list mailing list