home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!munnari.oz.au!ariel.ucs.unimelb.EDU.AU!richard
- From: richard@asis.unimelb.edu.au (Richard Begg)
- Newsgroups: comp.databases.ingres
- Subject: Re: Running Ingres using Unix Cron
- Date: 13 Jan 1993 02:02:17 GMT
- Organization: University of Melbourne
- Lines: 27
- Message-ID: <1ivt79INNisf@ariel.ucs.unimelb.EDU.AU>
- References: <1993Jan12.163830.17691@zia.aoc.nrao.edu>
- NNTP-Posting-Host: mulgulgum.asis.unimelb.edu.au
- Keywords: Ingres Cron
-
- cbignell@zia.aoc.nrao.edu (Carl Bignell) writes:
-
- |I have been trying to run an Ingres report using the unix Cron
- |facility so that some report files can be automatically updated on a
- |daily basis. I use the report <database> <reportname> feature of
- |ingres inside of an executable unix script. If I run this script
- |manually it works correctly. If I set this up as a Cron job it does
- |not work even when I preface all files with appropriate paths. Since
- |others have had problems making ingres programs (e.g. embedded SQL and
- |4GL) run under Cron I wanted to find out if there is a way to make
- |this feature work. If the job cannot be run automatically the
- |usefulness of the ingres report writer goes to zero in this
- |application. I would appreciate any help on this matter. Thankyou.
-
- It might help if you could tell us in what way the report doesn't work.
- What, if any, error messages are produced? What version of Ingres you are
- running? What platform etc.
-
- My guess is that the environment is not correct. All Ingres applications
- will require at least the II_SYSTEM variable to be set. Setting the
- PATH variable might also help. Cron jobs do not supply much of
- an environment by themselves.
-
- --
- --
- Richard Begg (richard@asis.unimelb.edu.au)
- Admin Systems and Info Services - University of Melbourne.
-