<div dir="ltr">hi Aaron<div><br></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><br></div><div><b 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</b><br></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>
<b>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</b><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"><font size="3"><font face="Arial"><font face="Tahoma"><font><br>
Onward and Upward,<br>
<br>
</font>Aaron D. Perry<br>
</font><font size="3"><font size="3"><font face="Tahoma">Boston, MA<br>
Lyndon State College '16<br>
Twitter: <a href="https://twitter.com/AaronPerryLSC" target="_blank">@AaronPerryLSC</a><br>
</font></font></font></font></font><font size="3"><font face="Arial"><font size="3"><font size="3"><font face="Tahoma">Mobile: 617-780-4312</font></font></font></font></font></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"><div><br></div>-- <br><div dir="ltr">------------------------------------------------------------------------<br><font size="1"><b><span style="font-family:tahoma,sans-serif">Bertozzi Angelo</span></b><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"><b style="font-family:tahoma,sans-serif">METEOCENTER Srl</b></font><br style="font-family:tahoma,sans-serif">
<font size="1"><span style="font-family:tahoma,sans-serif">Parco delle Arti e delle Scienze "TORRICELLI" - Via Albert Einstein, 8 - 48018 FAENZA (RA) - ITALY</span></font><div>
<font face="tahoma, sans-serif" size="1"><b>Linkedin </b></font><a href="http://www.linkedin.com/profile/view?id=60857488" target="_blank">http://www.linkedin.com/profile/view?id=60857488</a><font face="tahoma, sans-serif" size="1"><br>
</font> -====^^^^^ =========================-------<br> (( ( ) ) ) ) ) ) ))<br> ( ( (( ) )) ))</div><div> ( ( ( ) )))</div><div> ( ))</div>
<div> ( ( ) )</div><div> ( ) )</div><div> (( ( ( ) )</div><div> (( ( ( ) ) ) )))</div><div> #######//////// //// </div>
<div>-------------------------------------------------------------------------<br><font size="1">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).</font></div>
</div>
</div>