NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
>From: address@hidden (Chris Hennon) >Organization: Ohio State >Keywords: 200005102101.e4AL1K425101 scripts NTS Chris- Steve is out for a couple of weeks. I'll try to help you as best I can. >I have a csh script that runs normally from the command line. I'll spare >you the gritty details, but it begins like this: > >#!/bin/csh -f >source /usr/local/gempak/NAWIPS-5.4/Gemenviron >setenv DISPLAY shear:1.0 > >When I run the same script from the cron with the crontab entry: > >45 * * * * /usr/local/gempak/scripts/surface/ohio_analy.csh > >it always looks for eta fields and nmos fields that it is not finding. I >don't know why it is looking for them, since I am plotting up surface data >and the script doesn't try to open these files. I run into >the same exact problem with other scripts I have (running normally from >the command line, then not finding unspecified grid files from the cron). One guess is that the script when run from crontab does not have permission to write out the .nts files (last.nts, gemglb.nts) and it is using a copy that has references to the eta and nmos grids. Check for spurious .nts files. You might want put a cd in your script so you cd to a working directory at the beginning of the script. Make sure you have the correct permissions on that directory for the user running the script. >I've attached a log file if you want to browse through it. I know I'm >probably missing something obvious. Let me know if you have any ideas. >Thanks. Let me know about the NTS files. If that's not the problem, I'll look into it further. Don Murray **************************************************************************** Unidata User Support UCAR Unidata Program (303)497-8644 P.O. Box 3000 address@hidden Boulder, CO 80307 ---------------------------------------------------------------------------- Unidata WWW Service http://www.unidata.ucar.edu/ ****************************************************************************