sed the command -clb for -lbc. Ok<br><br>
<div><span class="gmail_quote">On 3/23/07, <b class="gmail_sendername">martynas kazlauskas</b> <<a href="mailto:mkzv@yahoo.com">mkzv@yahoo.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hello all,<br><br>If I may may still add my comment on the crontab<br>issue. I've noticed that the cron does not recognize
<br>grads command unless the pathway to grads is fully<br>described in the script. And (no hard feelings) I<br>doubt that it is "because sometimes the path to grads<br>could not be known in the cron mode", I would rather
<br>change it to "everytime".<br><br>Regards,<br>Martynas Kazlauskas<br>LHMS<br><br><br><br><br>--- Isilda da Cunha Menezes <<a href="mailto:isilda@UEVORA.PT">isilda@UEVORA.PT</a>> wrote:<br><br>> Olá José Antonio!
<br>> Thanks for your help, but was necessary also to<br>> change the l for the p in<br>> the GRADS parameters. Mine script already runs with<br>> crontab, correctly.<br>><br>> Best regards<br>> Isilda
<br>><br>><br>><br>><br>><br>><br>> > Isilda,<br>> ><br>> > Did you try to run your script runexp in the<br>> command line ?<br>> ><br>> > If it works , you would provide the grads
<br>> location inside the script,<br>> > because sometimes<br>> > the path to grads could not be known in the cron<br>> mode.<br>> ><br>> > You could try:<br>> ><br>> > ${GRADSDIR}/gradsc -clb "run
<br>> gera_figuras-<a href="http://europa.gs">europa.gs</a>" >& grads2.out<br>> ><br>> > Where GRADSDIR is the location of gradsc program<br>> in your computer.<br>> ><br>> > Best Regards
<br>> ><br>> > José Antonio<br>> ><br>> ><br>> > 2007/3/22, Isilda da Cunha Menezes<br>> <<a href="mailto:isilda@uevora.pt">isilda@uevora.pt</a>>:<br>> >><br>> >> Hello!
<br>> >> I am with a problem. I want to run a script of<br>> shell that opens grads<br>> >> and<br>> >> runs one gs.script with the instructions to<br>> create the figures, using<br>> >> crontab. But I am abtain an error message and he
<br>> does not create the<br>> >> figures. When I run shell script in the line of<br>> commands of consoles<br>> >> does<br>> >> not have any problem. I find that it is in the<br>> parameters of grads that
<br>> >> is<br>> >> the problem. They will be able to help me to<br>> correct it error in script<br>> >> of<br>> >> shell? It has an alternative way to open grads<br>> without giving error when
<br>> >> we use crontab?<br>> >><br>> >> my script shell is:<br>> >><br>> >> #!/bin/bash<br>> >> DIR=$PWD<br>> >> gradsc -clb "run gera_figuras-<a href="http://europa.gs">
europa.gs</a>" >&<br>> grads2.out<br>> >> if [ $? -ne 0 ] ; then<br>> >> exit 8<br>> >> fi<br>> >><br>> >> and the error message:<br>> >><br>> >>
<br>> /home/isilda/simul-BRAMS/RAMSPOST50/figuras/runexp:<br>> 3: Syntax error: Bad<br>> >> fd number<br>> >><br>> >> Best regards<br>> >> Isilda<br>> >><br>> ><br>
><br><br><br><br><br>____________________________________________________________________________________<br>TV dinner still cooling?<br>Check out "Tonight's Picks" on Yahoo! TV.<br><a href="http://tv.yahoo.com/">
http://tv.yahoo.com/</a><br></blockquote></div><br>