home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / database / ingres / 2237 < prev    next >
Encoding:
Internet Message Format  |  1993-01-12  |  1.7 KB

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