[ncl-talk] execute a ncl script in crontab

Cathy Smith (NOAA Affiliate) cathy.smith at noaa.gov
Mon Nov 14 09:47:33 MST 2016


It may also be that your NCAR_ROOT is not set when you run via the 
crontab or is set differently than you expect. I mention this because 
it's happened to me more than once.

Cathy

On 11/13/16 7:21 PM, Gustavo Correa wrote:
> Hi Enric
>
> That may be a PATH problem, your environment in crontab may be
> different from your login shell.
> Have you tried to use the full path to ncl ?
>
> I hope this helps,
> Gus Correa
>
> On Nov 13, 2016, at 8:54 AM, Agud Pique, Enric wrote:
>
>> Dear people,
>>   
>> I execute a ncl file by terminal, (ncl filename.ncl)   but when I launch it by crontab it doesn’t run...crontab ignores it.  I use bash script in crontab without problems...
>>   
>> Thank you in advance
>>   
>>   
>> _______________________________________________
>> ncl-talk mailing list
>> ncl-talk at ucar.edu
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

-- 
----------------------------------------------
NOAA/ESRL PSD and CU CIRES
303-497-6263
http://www.esrl.noaa.gov/psd/people/cathy.smith/

Emails about data/webpages may get quicker responses from emailing
esrl.psd.data at noaa.gov



More information about the ncl-talk mailing list