Use the -b flag when starting Grads to force it to run in batch mode, which causes it not to open the xterm window.<br><br>Jeff Duda<br><br><div class="gmail_quote">On Wed, Apr 11, 2012 at 2:31 PM, Mark Hess <span dir="ltr"><<a href="mailto:mhess@oceani.com">mhess@oceani.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div bgcolor="#ffffff">
<div><font face="Arial">Is there a way to run scripted functions in GrADS
which don't require data to be displayed using cron? My script (.gs file)
runs fine, however it does not when started via cron - I imagine because GrADS
needs an open xterm window from which it is launched. Is there a way to
work around this or set the DISPLAY so a GrADS script can be called via
cron?</font></div>
<div><font face="Arial"></font> </div>
<div><font face="Arial">Thanks,</font></div>
<div><font face="Arial"></font> </div>
<div><font face="Arial">Mark</font></div>
<div><font face="Arial"></font> </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><br>