[gradsusr] No Text Plots When Script Executed Via Crontab
Perry, Aaron @ LSC
Aaron.Perry at lsc.vsc.edu
Wed Aug 6 17:56:24 EDT 2014
Hi Michael,
Thanks for replying to my question.
I currently have the following at the top of the shell script:
#!/bin/sh
export PATH=/mnt/grads:$PATH
export GADDIR=/mnt/grads/
export GASCRP=/home/aaron/scripts/dec2013
I also have that in .bashrc file.
Onward and Upward,
Aaron D. Perry
Atmospheric Sciences
Lyndon State College
Class of 2016
Boston, MA
Twitter: @AaronPerryLSC<https://twitter.com/AaronPerryLSC>
Web: weathercdn.com<http://weathercdn.com/>
Mobile: 617-780-4312
________________________________
From: gradsusr-bounces at gradsusr.org <gradsusr-bounces at gradsusr.org> on behalf of Frost, Mr. Michael <Michael.Frost at nrlmry.navy.mil>
Sent: Wednesday, August 06, 2014 5:52 PM
To: GrADS Users Forum
Subject: Re: [gradsusr] No Text Plots When Script Executed Via Crontab
Are you setting the GADDIR inside your script?
Michael Frost
Naval Research Laboratory
Marine Meteorology Division
7 Grace Hopper Avenue, Stop #2
Monterey, CA 93940
Phone: 831-656-4723
Fax: 831-656-4314
Email: mike.frost at nrlmry.navy.mil
From: gradsusr-bounces at gradsusr.org [mailto:gradsusr-bounces at gradsusr.org] On Behalf Of Perry, Aaron @ LSC
Sent: Wednesday, August 06, 2014 2:19 PM
To: GrADS Users Forum
Subject: [gradsusr] No Text Plots When Script Executed Via Crontab
Good Afternoon All,
I'm currently trying to execute a shell script (.sh) in crontab that runs GrADS.
I am able to run the shell script fine on it's own but, when I run it via crontab, I always get the following error:
Error opening stroke character data set
Data set names = /usr/local/lib/grads/font0.dat ; font0.dat
I have GrADS installed in /mnt/grads/ and all the associated font#.dat files in /mnt/grads/ so, I'm a bit perplexed as to why my system thinks that GrADS is in /usr/local/lib/.
Any ideas?
Onward and Upward,
Aaron D. Perry
Atmospheric Sciences
Lyndon State College
Class of 2016
Boston, MA
Twitter: @AaronPerryLSC<https://twitter.com/AaronPerryLSC>
Web: weathercdn.com<http://weathercdn.com/>
Mobile: 617-780-4312
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20140806/5bc407c5/attachment.html
More information about the gradsusr
mailing list