<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19019">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2 face=Arial>Worked like a charm! Thanks!</FONT></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=jeffduda319@gmail.com href="mailto:jeffduda319@gmail.com">Jeff
Duda</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=gradsusr@gradsusr.org
href="mailto:gradsusr@gradsusr.org">GrADS Users Forum</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, April 11, 2012 1:44
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [gradsusr] Running GrADS
Under Cron</DIV>
<DIV><BR></DIV>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
style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote><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>
<P>
<HR>
<P></P>_______________________________________________<BR>gradsusr mailing
list<BR>gradsusr@gradsusr.org<BR>http://gradsusr.org/mailman/listinfo/gradsusr<BR></BLOCKQUOTE></BODY></HTML>