[gradsusr] Open Error on Map Data Set Error During Cronjob
Jennifer M Adams
jadams21 at gmu.edu
Sun Jan 31 17:35:12 EST 2016
Aaron,
I believe the problem is that cron does not read your .bashrc before running jobs. You need to set those environment variables in your scripts, or else set up a symlink for /usr/local/lib/grads that points to /home/hoth/grads.
—Jennifer
On Jan 31, 2016, at 3:06 PM, Perry, Aaron <Aaron.Perry at lsc.vsc.edu<mailto:Aaron.Perry at lsc.vsc.edu>> wrote:
Hi Everyone,
I'm currently running into a problem with running some grads scripts in a bash script that is on my cron. I'm running on a CentOS 7 system.
The error:
Open Error on Map Data Set: /usr/local/lib/grads/hires
I added the following lines to my .bashrc:
export PATH=/bin:/usr/bin:$PATH
export GADDIR=/home/hoth/grads
export GASCRP=/home/hoth/scripts
I'm a bit perplexed because I have all of the required font.dats and the 3 map sets in /home/hoth/grads/ but when the scripts run via cron, GrADS can't see them.
What's going on?
Aaron D. Perry
Class of 2016
Lyndon State College
Lyndonville, VT 05851
Mobile: (617) 780-4312
Twitter: @arnpry<https://twitter.com/arnpry>
FB: fb.com/arnpry<https://www.facebook.com/arnpry>
LinkedIn: arnpry<https://www.linkedin.com/in/arnpry><https://www.linkedin.com/in/upstream>
Web: shearanalytics.net<http://shearanalytics.net/>
Email: Aaron.Perry at lyndonstate.edu<http://Aaron.Perry@lyndonstate.edu/>
_______________________________________________
gradsusr mailing list
gradsusr at gradsusr.org<mailto:gradsusr at gradsusr.org>
http://gradsusr.org/mailman/listinfo/gradsusr
--
Jennifer M. Adams
Center for Ocean-Land-Atmosphere Studies (COLA)
111 Research Hall, Mail Stop 2B3
George Mason University
4400 University Drive
Fairfax, VA 22030
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20160131/0d9e4aeb/attachment.html
More information about the gradsusr
mailing list