comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Using IDL shell in crontab
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Using IDL shell in crontab [message #56965 is a reply to message #56963] Sun, 25 November 2007 13:26 Go to previous messageGo to previous message
Anthony[1] is currently offline  Anthony[1]
Messages: 20
Registered: December 2006
Junior Member
On Nov 24, 1:07 pm, Bearstone <bearst...@gmail.com> wrote:
> I tried hard to get the answer on the web, but I got no clue.
>
> My problem is really simple.
>
> I draw simple figures with IDL code and it work without any problem.
>
> I use simple shell file like
>
> idl << EOF
> .run 1122.pro
> .run 1122-arsl.pro
> .run 1122size.pro
> EOF
>
> when I run it manually, it has no problem
>
> But when I put the shell file in crontab - because I have to draw
> figure every 10 minures- it doesn't work at all
>
> Crontab setting is like below
> */10 7-20 * * * /bin/csh /data1/kimws/skyrad/Seoul/POM01MKII/1122one-
> mk2.csh > /data1/kimws/skyrad/mk2.out
>
> If I just run manually on prompt like
> [arsl]/data1/kimws/skyrad/Seoul/POM01MKII{442}/data1/kimws/s kyrad/
> Seoul/POM01MKII/1122one-mk2.csh
>
> It works good.
> It's doesn't work only when it is in crontab.
>
> Other shell files that doesn't contain any IDL code work without any
> problem.
>
> How can I solve this problem? T.T

Try giving the full path for idl, e.g.,

/local/bin/idl <<EOF

That's worked for me in the past.

Anthony
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How can i put in a IDLgrAxis non constant values ?
Next Topic: int_2D and int_3D

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 15:41:11 PDT 2025

Total time taken to generate the page: 1.04147 seconds