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 #56961] Mon, 26 November 2007 01:01 Go to previous message
Bearstone is currently offline  Bearstone
Messages: 3
Registered: November 2007
Junior Member
On 11월26일, 오후2시50분, Bearstone <bearst...@gmail.com> wrote:
>>> Try giving the full path for idl, e.g.,
>
>>> /local/bin/idl <<EOF
>
>>> That's worked for me in the past.
>
>>> Anthony
>
>> Hmm, I agree with Anthony. I didnt test IDL when I posted earlier, but
>> in my experiance usually, if the script doesn't work when executed as
>> cronjob (but otherwise does), then the cron environment needs to be
>> checked. After I saw this reply, I wrote a 2 line idl program to plot
>> some random data every 2 minutes and gave the full path to IDL (/usr/
>> local/bin/idl) and it worked, but strange, in this case, it didn't
>> require the explicit definition of shell variable in crontab? It will
>> come to me, but not now, heh! Anyway, thanks.- 따온 텍스트 숨기기 -
>
>> - 따온 텍스트 보기 -
>
> Appreciate for your help.
> I put full path of idl. like
> /usr/local/rsi/idl_6.3/bin/idl << EOF
>
> and I put 2> option to see error message
> 2> /data1/kimws/skyrad/error.out
>
> error message is below
>
> % Compiled module: $MAIN$.
> % DEVICE: Unable to connect to X Windows display: :0.0
> % DEVICE: Unable to open X Windows display.
> Is your DISPLAY environment variable set correctly?
> % Execution halted at: $MAIN$ 1
> /data1/kimws/skyrad/Seoul/POM01MKII/work/1122.pro
>
> 1122.pro is a program that draw a figure and save as .png file.- 따온 텍스트 숨기기 -
>
> - 따온 텍스트 보기 -

I almost solve the problem using z-buffer.
Thank you everyone ^^
[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: Fri Oct 10 10:22:44 PDT 2025

Total time taken to generate the page: 0.55981 seconds