Re: run NCL script using corntab, how?

From: ugo merlini <ugomerlini_at_nyahnyahspammersnyahnyah>
Date: Sun Sep 09 2012 - 07:18:45 MDT

Hi,

even if I have Ncl directories in /etc/profile (which should give global environment) I missed to add it also in the bash script

Regards

Ugo

I'm usin debian squeeze

> Date: Sun, 9 Sep 2012 06:54:47 -0500
> Subject: Re: run NCL script using corntab, how?
> From: akrherz@iastate.edu
> To: ugomerlini@hotmail.com
> CC: ncl-talk@ucar.edu
>
> Hi Ugo,
>
> Could you provide a bit more information and the exact error you get?
> I suspect the issue is that your environment that properly sets up
> your shell for executing NCL is not being sourced when running your
> cron script. Could you provide the exact command you are using in
> your crontab? One suggestion would be to run the command 'env'
> immediately in your cron script to see what environment variables are
> set. Another suggestion would be to set your shell explicitly in the
> crontab, but simply setting
>
> SHELL=/bin/whatever
>
> daryl
>
> On Sat, Sep 8, 2012 at 5:16 PM, ugo merlini <ugomerlini@hotmail.com> wrote:
> > Hi,
> >
> > I'm trying to run an NCL script using crontab and I'm not able to do it. If
> > I manually lunch the script it works
> >
> > Ugo
> >
> > _______________________________________________
> > ncl-talk mailing list
> > List instructions, subscriber options, unsubscribe:
> > http://mailman.ucar.edu/mailman/listinfo/ncl-talk
> >
                                               

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Sun Sep 9 07:18:56 2012

This archive was generated by hypermail 2.1.8 : Tue Sep 11 2012 - 15:30:42 MDT