<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!--P{margin-top:0;margin-bottom:0;} .ms-cui-menu {background-color:#ffffff;border:1px rgb(166, 166, 166) solid;font-family:'Segoe UI','Segoe WP','Segoe UI WPC',Tahoma,Arial,sans-serif;font-size:10pt;color:rgb(51, 51, 51);} .ms-cui-menusection-title {display:none;} .ms-cui-ctl {vertical-align:text-top;text-decoration:none;color:rgb(51, 51, 51);} .ms-cui-ctl-on {background-color:rgb(252, 232, 233);opacity: 0.8;} .ms-cui-img-cont-float {display:inline-block;margin-top:2px} .ms-cui-smenu-inner {padding-top:0px;} .ms-owa-paste-option-icon {margin: 0px 6px 0px 6px;vertical-align:middle!important;padding-bottom: 2px;display:inline-block;} .ms-rtePasteFlyout-option:hover {background-color:rgb(252, 232, 233) !important;opacity:1 !important;} .ms-rtePasteFlyout-option {padding:8px 4px 8px 4px;outline:none;} .ms-cui-menusection {float:left; width:85px;height:24px;overflow:hidden}.wf {speak:none; font-weight:normal; font-variant:normal; text-transform:none; -webkit-font-smoothing:antialiased; vertical-align:middle; display:inline-block;}.wf-family-owa {font-family:'o365Icons'}@font-face {  font-family:'o365IconsIE8';  src:url('https://r4.res.outlook.com/owa/prem/16.0.326.8/resources/styles/office365icons.ie8.eot?#iefix') format('embedded-opentype'),         url('https://r4.res.outlook.com/owa/prem/16.0.326.8/resources/styles/office365icons.ie8.woff') format('woff'),         url('https://r4.res.outlook.com/owa/prem/16.0.326.8/resources/styles/office365icons.ie8.ttf') format('truetype');  font-weight:normal;  font-style:normal;}@font-face {  font-family:'o365IconsMouse';  src:url('https://r4.res.outlook.com/owa/prem/16.0.326.8/resources/styles/office365icons.mouse.eot?#iefix') format('embedded-opentype'),         url('https://r4.res.outlook.com/owa/prem/16.0.326.8/resources/styles/office365icons.mouse.woff') format('woff'),         url('https://r4.res.outlook.com/owa/prem/16.0.326.8/resources/styles/office365icons.mouse.ttf') format('truetype');  font-weight:normal;  font-style:normal;}.wf-family-owa {font-family:'o365IconsMouse'}.ie8 .wf-family-owa {font-family:'o365IconsIE8'}.ie8 .wf-owa-play-large:before {content:'\e254';}.notIE8 .wf-owa-play-large:before {content:'\e054';}.ie8 .wf-owa-play-large {color:#FFFFFF/*$WFWhiteColor*/;}.notIE8 .wf-owa-play-large {border-color:#FFFFFF/*$WFWhiteColor*/; width:1.4em; height:1.4em; border-width:.1em; border-style:solid; border-radius:.8em; text-align:center; box-sizing:border-box; -moz-box-sizing:border-box; padding:0.1em; color:#FFFFFF/*$WFWhiteColor*/;}.ie8 .wf-size-play-large {width:40px; height:40px; font-size:30px}.notIE8 .wf-size-play-large {width:40px; height:40px; font-size:30px}.notIE8 .wf-owa-triangle-down-small:before {content:'\e052';}.ie8 .wf-owa-triangle-down-small:before { content:'\e052';}.ie8 .wf-owa-triangle-down-small {color:#666666/*$WFGreyColor*/;}.wf-size-x20 {font-size: 20px!important;}--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Which crontab file would you suggest inserting it into?</p>
<p><br>
</p>
<p>I've been trying to use sudo crontab -e and drag/dropping the script into /etc/cron.hourly/ but,haven't had much luck. Been experimenting with gnome-schedule.<br>
</p>
<p><br>
</p>
<p><br>
</p>
<div id="Signature">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-size:13px; font-family:Tahoma">
<div style="font-size:13px; font-family:Tahoma">
<div style="font-size:13px; font-family:Tahoma">
<div style="font-size:13px; font-family:Tahoma">
<div style="font-size:13px; font-family:Tahoma">
<div style="font-size:13px; font-family:Tahoma">
<div style="font-size:13px; font-family:Tahoma">
<div style="font-size:13px; font-family:Tahoma">
<div style="font-size:13px; font-family:Tahoma"><font size="3"><font face="Arial"><font face="Tahoma" size="2"><font size="2"></font></font></font></font>
<div style="font-size:13px; font-family:Tahoma"><font size="3"><font face="Arial"><font face="Tahoma" size="2"><font size="2"><br>
<strong>Onward and Upward,<br>
<br>
</strong></font><strong>Aaron D. Perry<br>
</strong></font><font size="3"><font size="3"><font face="Tahoma" size="2"><strong>Atmospheric Sciences<br>
Lyndon State College<br>
Class of 2016<br>
</strong></font></font></font></font></font><font size="3"><font face="Arial"><font size="3"><font size="3"><font face="Tahoma" size="2"><strong><font size="3"><font face="Arial"><font size="3"><font size="3"><font face="Tahoma" size="2">Boston, MA</font></font></font></font></font>
<br>
Twitter: </strong><a href="https://twitter.com/AaronPerryLSC" tabindex="0"><strong>@AaronPerryLSC</strong></a><br>
<strong>Web: <a href="http://weathercdn.com/" tabindex="0">weathercdn.com</a></strong></font></font></font></font></font><font size="3"><font face="Arial"><font size="3"><font size="3"><font face="Tahoma" size="2"><strong></strong></font></font></font></font></font></div>
<div style="font-size:13px; font-family:Tahoma"><font size="3"><font face="Arial"><font size="3"><font size="3"><font face="Tahoma" size="2"><strong>Mobile: 617-780-4312</strong></font></font></font></font></font></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div style="color: rgb(33, 33, 33);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>From:</b> gradsusr-bounces@gradsusr.org &lt;gradsusr-bounces@gradsusr.org&gt; on behalf of Jeff Duda &lt;jeffduda319@gmail.com&gt;<br>
<b>Sent:</b> Wednesday, August 06, 2014 6:43 PM<br>
<b>To:</b> GrADS Users Forum<br>
<b>Subject:</b> Re: [gradsusr] No Text Plots When Script Executed Via Crontab</font>
<div>&nbsp;</div>
</div>
<div>
<div dir="ltr">
<div>It's possible that the crontab software is overwriting those environmental variables.&nbsp; Try setting them inside the text of the cron script.<br>
<br>
</div>
Jeff Duda<br>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Wed, Aug 6, 2014 at 4:56 PM, Perry, Aaron @ LSC <span dir="ltr">
&lt;<a href="mailto:Aaron.Perry@lsc.vsc.edu" target="_blank">Aaron.Perry@lsc.vsc.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div dir="ltr" style="font-size:12pt; color:#000000; background-color:#ffffff; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hi Michael,</p>
<p><br>
</p>
<p>Thanks for replying to my question.</p>
<p><br>
</p>
<p>I currently have the following at the top of the shell script:</p>
<p><br>
</p>
<p>#!/bin/sh<br>
<br>
export PATH=/mnt/grads:$PATH<br>
export GADDIR=/mnt/grads/<br>
export GASCRP=/home/aaron/scripts/dec2013</p>
<p><br>
</p>
<p>I also have that in .bashrc file.<br>
</p>
<div class="">
<p><br>
</p>
<p><br>
</p>
<div>
<div name="divtagdefaultwrapper">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-size:13px; font-family:Tahoma">
<div style="font-size:13px; font-family:Tahoma">
<div style="font-size:13px; font-family:Tahoma">
<div style="font-size:13px; font-family:Tahoma">
<div style="font-size:13px; font-family:Tahoma">
<div style="font-size:13px; font-family:Tahoma">
<div style="font-size:13px; font-family:Tahoma">
<div style="font-size:13px; font-family:Tahoma">
<div style="font-size:13px; font-family:Tahoma"><font size="3"><font face="Arial"><font face="Tahoma"><font></font></font></font></font>
<div style="font-size:13px; font-family:Tahoma"><font size="3"><font face="Arial"><font face="Tahoma"><font><br>
<br>
<strong>Onward and Upward,<br>
<br>
</strong></font><strong>Aaron D. Perry<br>
</strong></font><font size="3"><font size="3"><font face="Tahoma"><strong>Atmospheric Sciences<br>
Lyndon State College<br>
Class of 2016<br>
</strong></font></font></font></font></font><font size="3"><font face="Arial"><font size="3"><font size="3"><font face="Tahoma"><strong><font size="3"><font face="Arial"><font size="3"><font size="3"><font face="Tahoma">Boston, MA</font></font></font></font></font>
<br>
Twitter: </strong><a href="https://twitter.com/AaronPerryLSC" target="_blank"><strong>@AaronPerryLSC</strong></a><br>
<strong>Web: <a href="http://weathercdn.com/" target="_blank">weathercdn.com</a></strong></font></font></font></font></font><font size="3"><font face="Arial"><font size="3"><font size="3"><font face="Tahoma"><strong></strong></font></font></font></font></font></div>
<div style="font-size:13px; font-family:Tahoma"><font size="3"><font face="Arial"><font size="3"><font size="3"><font face="Tahoma"><strong>Mobile: 617-780-4312</strong></font></font></font></font></font></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div style="color:rgb(33,33,33)">
<hr style="display:inline-block; width:98%">
<div dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>From:</b>
<a href="mailto:gradsusr-bounces@gradsusr.org" target="_blank">gradsusr-bounces@gradsusr.org</a> &lt;<a href="mailto:gradsusr-bounces@gradsusr.org" target="_blank">gradsusr-bounces@gradsusr.org</a>&gt; on behalf of Frost, Mr. Michael &lt;<a href="mailto:Michael.Frost@nrlmry.navy.mil" target="_blank">Michael.Frost@nrlmry.navy.mil</a>&gt;<br>
<b>Sent:</b> Wednesday, August 06, 2014 5:52 PM<br>
<b>To:</b> GrADS Users Forum<br>
<b>Subject:</b> Re: [gradsusr] No Text Plots When Script Executed Via Crontab</font>
<div>&nbsp;</div>
</div>
<div>
<div class="h5">
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:#1f497d">Are you setting the GADDIR inside your script?</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:#1f497d">&nbsp;</span></p>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:#1f497d">Michael Frost<br>
Naval Research Laboratory<br>
Marine Meteorology Division<br>
7 Grace Hopper Avenue, Stop #2<br>
Monterey, CA 93940<br>
Phone:&nbsp; 831-656-4723<br>
Fax:&nbsp; 831-656-4314<br>
Email:&nbsp; <a href="mailto:mike.frost@nrlmry.navy.mil" target="_blank">mike.frost@nrlmry.navy.mil</a></span><span style="font-size:11.0pt; font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:#1f497d"></span></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:#1f497d">&nbsp;</span></p>
<div>
<div style="border:none; border-top:solid #b5c4df 1.0pt; padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt; font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10.0pt; font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">
<a href="mailto:gradsusr-bounces@gradsusr.org" target="_blank">gradsusr-bounces@gradsusr.org</a> [mailto:<a href="mailto:gradsusr-bounces@gradsusr.org" target="_blank">gradsusr-bounces@gradsusr.org</a>]
<b>On Behalf Of </b>Perry, Aaron @ LSC<br>
<b>Sent:</b> Wednesday, August 06, 2014 2:19 PM<br>
<b>To:</b> GrADS Users Forum<br>
<b>Subject:</b> [gradsusr] No Text Plots When Script Executed Via Crontab</span></p>
</div>
</div>
<p class="MsoNormal">&nbsp;</p>
<p><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:black">Good Afternoon All,</span></p>
<p><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:black">&nbsp;</span></p>
<p><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:black">I'm currently trying to execute a shell script (.sh) in crontab that runs GrADS.</span></p>
<p><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:black">&nbsp;</span></p>
<p><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:black">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:</span></p>
<p><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:black">&nbsp;</span></p>
<p><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:black">Error opening stroke character data set
<br>
Data set names = /usr/local/lib/grads/font0.dat ; font0.dat</span></p>
<p><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:black">&nbsp;</span></p>
<p><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:black">I have GrADS installed in /mnt/grads/ and all the&nbsp;associated font#.dat files in&nbsp;/mnt/grads/ so, I'm a bit perplexed as to why my system thinks that GrADS is in /usr/local/lib/.</span></p>
<p><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:black">&nbsp;</span></p>
<p><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:black">Any ideas?</span></p>
<p><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:black">&nbsp;</span></p>
<p><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:black">&nbsp;</span></p>
<p><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:black">&nbsp;</span></p>
<p><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:black">&nbsp;</span></p>
<div>
<div name="divtagdefaultwrapper">
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><strong><span style="font-size:10.0pt; font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;; color:black">Onward and Upward,</span></strong><span style="font-size:10.0pt; font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;; color:black"></span></p>
<div>
<p class="MsoNormal"><strong><span style="font-size:10.0pt; font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;; color:black">Aaron D. Perry</span></strong><b><span style="font-size:10.0pt; font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;; color:black"><br>
<strong><span style="font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">Atmospheric Sciences</span></strong><br>
<strong><span style="font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">Lyndon State College</span></strong><br>
<strong><span style="font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">Class of 2016</span></strong><br>
<strong><span style="font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">Boston, MA </span></strong><br>
<strong><span style="font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">Twitter: </span></strong></span></b><span style="font-size:10.0pt; font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;; color:black"><a href="https://twitter.com/AaronPerryLSC" target="_blank"><strong><span style="font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">@AaronPerryLSC</span></strong></a><br>
<strong><span style="font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">Web: <a href="http://weathercdn.com/" target="_blank">
weathercdn.com</a></span></strong></span></p>
</div>
<div>
<p class="MsoNormal"><strong><span style="font-size:10.0pt; font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;; color:black">Mobile: 617-780-4312</span></strong><span style="font-size:10.0pt; font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;; color:black"></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
Jeff Duda<br>
Graduate research assistant<br>
University of Oklahoma School of Meteorology<br>
Center for Analysis and Prediction of Storms<br>
</div>
</div>
</div>
</body>
</html>