Re: Cron Job Error Message
Posted in 1998
Topics: Server Administration
Avi Abrami wrote: > > Greetings all c.d.i.'ers! > Perhaps some kind person may be able to assist me? > I have a UNIX cron job that executes an UPDATE STATISTICS on my INFORMIX > > Universal Server database. Here is the crontab entry: > > 0 21 * * 0-4 /bin/tcsh /opt/users/avi/updstats.csh > > Here is the text of the shell script "updstats.csh": > > echo "update statistics" | /opt/users/informix/bin/dbaccess test - > > After execution of the cron job, I get the following UNIX mail message: > > From avi Wed Feb 18 21:00:07 1998 > Date: Wed, 18 Feb 1998 21:00:07 +0200 > From: avi (User account) > To: avi > Subject: Output from "cron" command > > Your "cron" job > > /bin/tcsh /opt/users/avi/updstats.csh > > produced the following output: > > Must be attached to terminal for 'am I' option > [cutting] Does the command run from from command line using tcsh? If it does then the most probably cause is the use of tcsh. You could try sh/csh/ksh -- Paul Watson # WF Software Ltd # It said run using Windows 95 Tel: +44 1436 674629 # or better in the manual Fax: +44 1436 678693 # so I used Unix www.wfsoftware.co.uk #