[From nobody Thu Sep 8 10:07:50 2005 Return-path: <Transpower@aol.com> From: Transpower@aol.com Full-name: Transpower Message-ID: <12b.64eacac6.3051a73d@aol.com> Date: Thu, 8 Sep 2005 10:39:57 EDT Subject: Re: script run from cron To: filepro@vltool.com MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="part2_1a7.3e70bac4.3051a73d_boundary" X-Mailer: 8.0 for Windows sub 6811 --part2_1a7.3e70bac4.3051a73d_boundary Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit In a message dated 9/8/2005 10:29:14 AM Eastern Daylight Time, filepro@vltool.com writes: > I am using filepro 4.8 on Redhat linux 7.1. I want to run a script > scheduled on a cron job that runs 2 reports that export .dat file. > Problem is, filepro needs a terminal to run. When I run the job with > cron I get > > *** A filePro Error Has Occurred *** > > Entry: cl > > Required terminal feature not available. > Alert your system administrator. > > > Is there a way to run the script without using a terminal with filepro. > Or could I modify my script somehow to support a terminal. > > My script is below. Just 2 lines executing the report. > > #/bin/bash > /appl/fp/dreport vlprocess -f spindata -N -S schedule > /appl/fp/dreport vljobcard -f spindata -N -S schedule > > Thanks, > Greg > > Greg: Add this line to cron-- TERM=ansi;export TERM Regards, RWS www.transpowercorp.com, transpower@aol.com --part2_1a7.3e70bac4.3051a73d_boundary Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable <HTML><FONT FACE=3Darial,helvetica><HTML><FONT SIZE=3D2 PTSIZE=3D10 FAMILY= =3D"SANSSERIF" FACE=3D"Arial" LANG=3D"0">In a message dated 9/8/2005 10:29:1= 4 AM Eastern Daylight Time, filepro@vltool.com writes:<BR> <BR> <BLOCKQUOTE TYPE=3DCITE style=3D"BORDER-LEFT: #0000ff 2px solid; MARGIN-LEFT= : 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px">I am using filepro 4.8 on Redha= t linux 7.1.&nbsp; I want to run a script <BR> scheduled on a cron job that runs 2 reports that export .dat file. <BR> Problem is, filepro needs a terminal to run.&nbsp; When I run the job with <= BR> cron I get<BR> <BR> *** A filePro Error Has Occurred ***<BR> <BR> Entry: cl<BR> <BR> Required terminal feature not available.<BR> Alert your system administrator.<BR> <BR> <BR> Is there a way to run the script without using a terminal with filepro. <BR> Or could I modify my script somehow to support a terminal.<BR> <BR> My script is below.&nbsp; Just 2 lines executing the report.<BR> <BR> #/bin/bash<BR> /appl/fp/dreport vlprocess -f spindata -N -S schedule<BR> /appl/fp/dreport vljobcard -f spindata -N -S schedule<BR> <BR> Thanks,<BR> &nbsp; Greg<BR> <BR> </BLOCKQUOTE><BR> <BR> Greg:&nbsp; Add this line to cron-- TERM=3Dansi;export TERM<BR> <BR> Regards,<BR> RWS<BR> <A HREF=3D"www.transpowercorp.com">www.transpowercorp.com</A>, transpower@ao= l.com<BR> </FONT></HTML> --part2_1a7.3e70bac4.3051a73d_boundary-- ]