[gradsusr] Problem With Running GrADS Bash Script In Crontab
Angelo Bertozzi
angelo.bertozzi at meteocenter.it
Tue Jan 28 10:06:34 EST 2014
hi Aaron
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
2) if you edited directly the file /etc/crontab, the user specification is
missing, the correct syntax is
*15 14 * * * some-user
/home/muaddib/grads/get_nomads/bash/./gfs_sflux_t2m.sh 48 22 * * *
some-user /home/muaddib/grads/get_nomads/bash/./gfs_sflux_t2m.sh*
2014-01-28 Perry, Aaron @ LSC <Aaron.Perry at lsc.vsc.edu>
> Good Morning All,
>
> 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.
>
> 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.
>
> Here's what I have set in crontab:
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *40 02 * * * /home/muaddib/grads/get_nomads/bash/./nam4.sh 30 08 * * *
> /home/muaddib/grads/get_nomads/bash/./nam4.sh 15 14 * * *
> /home/muaddib/grads/get_nomads/bash/./nam4.sh 20 20 * * *
> /home/muaddib/grads/get_nomads/bash/./nam4.sh 40 02 * * *
> /home/muaddib/grads/get_nomads/bash/./nam12.sh 30 08 * * *
> /home/muaddib/grads/get_nomads/bash/./nam12.sh 15 14 * * *
> /home/muaddib/grads/get_nomads/bash/./nam12.sh 20 20 * * *
> /home/muaddib/grads/get_nomads/bash/./nam12.sh 39 02 * * *
> /home/muaddib/grads/get_nomads/bash/./gfs_sflux_t2m.sh 30 08 * * *
> /home/muaddib/grads/get_nomads/bash/./gfs_sflux_t2m.sh 15 14 * * *
> /home/muaddib/grads/get_nomads/bash/./gfs_sflux_t2m.sh 48 22 * * *
> /home/muaddib/grads/get_nomads/bash/./gfs_sflux_t2m.sh*
>
>
> Onward and Upward,
>
> Aaron D. Perry
> Boston, MA
> Lyndon State College '16
> Twitter: @AaronPerryLSC <https://twitter.com/AaronPerryLSC>
> Mobile: 617-780-4312
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
--
------------------------------------------------------------------------
*Bertozzi Angelo*
Meteorologist - HPCC admin & research
Atmospheric and Environmental numerical modeling division - head
Office 0546-450822
*METEOCENTER Srl*
Parco delle Arti e delle Scienze "TORRICELLI" - Via Albert Einstein, 8 -
48018 FAENZA (RA) - ITALY
*Linkedin *http://www.linkedin.com/profile/view?id=60857488
-====^^^^^ =========================-------
(( ( ) ) ) ) ) ) ))
( ( (( ) )) ))
( ( ( ) )))
( ))
( ( ) )
( ) )
(( ( ( ) )
(( ( ( ) ) ) )))
#######//////// ////
-------------------------------------------------------------------------
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).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20140128/30784226/attachment.html
More information about the gradsusr
mailing list