home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / database / ingres / 2240 < prev    next >
Encoding:
Text File  |  1993-01-12  |  1.5 KB  |  39 lines

  1. Newsgroups: comp.databases.ingres
  2. Path: sparky!uunet!psinntp!panix!coop
  3. From: coop@panix.com (Robert Cooper)
  4. Subject: Re: Running Ingres using Unix Cron
  5. Message-ID: <C0rv1G.JqH@panix.com>
  6. Keywords: Ingres Cron
  7. Organization: PANIX Public Access Unix, NYC
  8. References: <1993Jan12.163830.17691@zia.aoc.nrao.edu>
  9. Date: Wed, 13 Jan 1993 03:00:52 GMT
  10. Lines: 27
  11.  
  12.  
  13.  
  14. >I have been trying to run an Ingres report using the unix Cron
  15. >facility so that some report files can be automatically updated on a
  16. >daily basis.  I use the report <database> <reportname> feature of
  17. >ingres inside of an executable unix script.  If I run this script
  18. >manually it works correctly.  If I set this up as a Cron job it does
  19. >not work even when I preface all files with appropriate paths.  Since
  20. >others have had problems making ingres programs (e.g. embedded SQL and
  21. >4GL) run under Cron I wanted to find out if there is a way to make
  22. >this feature work.  If the job cannot be run automatically the
  23. >usefulness of the ingres report writer goes to zero in this
  24. >application.  I would appreciate any help on this matter.  Thankyou.
  25.  
  26. >Carl Bignell
  27.  
  28.  
  29. Cron uses a very limited path when it runs. Ingres needs to find other
  30. files in its bin directory. At the top of your shell script you need
  31. to include the ingres/bin directory to the default cron path.
  32.  
  33.  
  34. -- 
  35. Robert Cooper  Brooklyn, NY | "We have to learn to manage information and 
  36. coop@panix.com              |  its flow. If we don't, it will all end up 
  37. 212 309-9600 (Work)         |  in turbulence." Grace Hopper
  38.  
  39.