Hi,<br />I think you should add in head of <strong>./nam4.sh file </strong>path to catalog where do you have <strong>./nam4.sh file.<br /><br />example:<br /><br />!#/bin/sh<br /><br />cd /home/..../catalog with nam4.sh</strong><br /><br />Kuba<br /><br /><br />Dnia 28 stycznia 2014 16:06 Angelo Bertozzi <angelo.bertozzi@meteocenter.it> napisał(a):<br /><br />
<blockquote style="font-size: 12px; padding-left: 1em; margin-left: 1em; margin-bottom: 0px; border-left: #ccc 2px solid;">
<div id="msg">
<div id="msg-body">
<div dir="ltr">hi Aaron
<div> </div>
<div>
<div>1) have you tryed to check the $PATH and to excecutables in the /etc/crontab file header? some standard path (ex: /usr/local/bin) maybe missing making the system not able to localize executables or commands</div>
<div>2) if you edited directly the file /etc/crontab, the user specification is missing, the correct syntax is </div>
</div>
<div> </div>
<div><strong style="font-family: Tahoma; font-size: 13px;">15 14 * * * some-user /home/muaddib/grads/get_nomads/bash/./gfs_sflux_t2m.sh<br />48 22 * * * some-user /home/muaddib/grads/get_nomads/bash/./gfs_sflux_t2m.sh</strong></div>
</div>
<div class="gmail_extra"><br /><br />
<div class="gmail_quote">2014-01-28 Perry, Aaron @ LSC <span dir="ltr"><<a href="mailto:Aaron.Perry@lsc.vsc.edu" target="_blank">Aaron.Perry@lsc.vsc.edu</a>></span><br />
<blockquote class="gmail_quote" style="margin: 0 0 0 .8ex; border-left: 1px #ccc solid; padding-left: 1ex;">
<div>
<div style="direction: ltr; font-size: 10pt; font-family: Tahoma;">Good Morning All,<br /><br />I'm currently having an issue with running a bash script in Crontab. I believe that I have the permissions set correctly for the bash scripts and the scripts are set to be executable.<br /><br />Basically, I'd like to run the scripts 4 times a day for each model run (00Z, 06Z, 12Z, 18Z) and I thought that I had that setup correctly but, apparently not.<br /><br />Here's what I have set in crontab:<br /><br /><strong>40 02 * * * /home/muaddib/grads/get_nomads/bash/./nam4.sh<br />30 08 * * * /home/muaddib/grads/get_nomads/bash/./nam4.sh<br />15 14 * * * /home/muaddib/grads/get_nomads/bash/./nam4.sh<br />20 20 * * * /home/muaddib/grads/get_nomads/bash/./nam4.sh<br /><br />40 02 * * * /home/muaddib/grads/get_nomads/bash/./nam12.sh<br />30 08 * * * /home/muaddib/grads/get_nomads/bash/./nam12.sh<br />15 14 * * * /home/muaddib/grads/get_nomads/bash/./nam12.sh<br />20 20 * * * /home/muaddib/grads/get_nomads/bash/./nam12.sh<br /><br />39 02 * * * /home/muaddib/grads/get_nomads/bash/./gfs_sflux_t2m.sh<br />30 08 * * * /home/muaddib/grads/get_nomads/bash/./gfs_sflux_t2m.sh<br />15 14 * * * /home/muaddib/grads/get_nomads/bash/./gfs_sflux_t2m.sh<br />48 22 * * * /home/muaddib/grads/get_nomads/bash/./gfs_sflux_t2m.sh</strong><br />
<div><br />
<div style="font-family: Tahoma; font-size: 13px;">
<div style="font-family: Tahoma; font-size: 13px;">
<div style="font-family: Tahoma; font-size: 13px;">
<div style="font-family: Tahoma; font-size: 13px;">
<div style="font-family: Tahoma; font-size: 13px;">
<div style="font-family: Tahoma; font-size: 13px;">
<div style="font-family: Tahoma; font-size: 13px;">
<div style="font-family: Tahoma; font-size: 13px;"><span style="font-size: medium;"><span style="font-family: Arial;"><span style="font-family: Tahoma;"><span><br />Onward and Upward,<br /><br /></span>Aaron D. Perry<br /></span><span style="font-size: medium;"><span style="font-size: medium;"><span style="font-family: Tahoma;">Boston, MA<br />Lyndon State College '16<br />Twitter: <a href="https://twitter.com/AaronPerryLSC" target="_blank">@AaronPerryLSC</a><br /></span></span></span></span></span><span style="font-size: medium;"><span style="font-family: Arial;"><span style="font-size: medium;"><span style="font-size: medium;"><span style="font-family: Tahoma;">Mobile: 617-780-4312</span></span></span></span></span></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br />_______________________________________________<br />gradsusr mailing list<br /><a href="mailto:gradsusr@gradsusr.org" target="_blank">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" />
<div> </div>
--<br />
<div dir="ltr">------------------------------------------------------------------------<br /><span style="font-size: xx-small;"><strong><span style="font-family: tahoma, sans-serif;">Bertozzi Angelo</span></strong><br style="font-family: tahoma, sans-serif;" /><span style="font-family: tahoma, sans-serif;">Meteorologist - HPCC admin & research</span><br style="font-family: tahoma, sans-serif;" /><span style="font-family: tahoma, sans-serif;">Atmospheric and Environmental numerical modeling division - head</span><br style="font-family: tahoma, sans-serif;" /><span style="font-family: tahoma, sans-serif;">Office 0546-450822</span><br style="font-family: tahoma, sans-serif;" /><strong style="font-family: tahoma, sans-serif;">METEOCENTER Srl</strong></span><br style="font-family: tahoma, sans-serif;" /><span style="font-size: xx-small;"><span style="font-family: tahoma, sans-serif;">Parco delle Arti e delle Scienze "TORRICELLI" - Via Albert Einstein, 8 - 48018 FAENZA (RA) - ITALY</span></span>
<div><span style="font-family: tahoma,sans-serif; font-size: xx-small;"><strong>Linkedin </strong></span><a href="http://www.linkedin.com/profile/view?id=60857488" target="_blank">http://www.linkedin.com/profile/view?id=60857488</a><span style="font-family: tahoma,sans-serif; font-size: xx-small;"><br /></span> -====^^^^^ =========================-------<br /> (( ( ) ) ) ) ) ) ))<br /> ( ( (( ) )) ))</div>
<div> ( ( ( ) )))</div>
<div> ( ))</div>
<div> ( ( ) )</div>
<div> ( ) )</div>
<div> (( ( ( ) )</div>
<div> (( ( ( ) ) ) )))</div>
<div> #######//////// //// </div>
<div>-------------------------------------------------------------------------<br /><span style="font-size: xx-small;">Le informazioni contenute in questa e-mail e negli eventuali allegati sono riservate e destinate esclusivamente alla persona sopraindicata. Qualora non foste il destinatario, siete pregati di distruggere questo messaggio e notificarci il problema immediatamente. In ogni caso, non dovrete spedire a terzi, copiare, usare o diffondere il contenuto di questa e-mail e degli eventuali allegati. Si ricorda che la diffusione l'utilizzo e/o la conservazione dei dati ricevuti per errore costituiscono violazione alle disposizioni del D.lgs. n. 196/2003 (Codice in materia di protezione dei dati personali) oltre a costituire violazione di carattere penale ai sensi dell'art. 616 Codice penale (Violazione, sottrazione e soppressione di corrispondenza).</span></div>
</div>
</div>
</div>
</div>
</blockquote>
<br /><br />
<p><br /><br />--<br />[WPC] Weather Prediction Center www.meteoweb.pl</p>