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

Home » Public Forums » archive » running idl from a cron job
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: running idl from a cron job [message #59097 is a reply to message #58562] Wed, 05 March 2008 06:44 Go to previous messageGo to previous message
rlayberry is currently offline  rlayberry
Messages: 33
Registered: November 2004
Member
On 1 Feb, 19:36, pgri...@gmail.com wrote:
> Well, here's how I do it (there may be other ways tough).
>
> Define a shell script doing two things:
>
> - set up an IDL_STARTUP environmental variable with the full path to a
> valid
> IDL program (let's say is called idl_startup.pro)
> - start idl
>
> Then, in idl_startup.pro put in
>
> [your initialization for IDL]
>
> your_program
>
> exit
> end
>
> This way, you can put the shell script in your cron table,
> and this will execute your IDL initializations, then
> the program called your_program and exit IDL when
> your_program is finished.
>
> Ciao,
> Paolo
>
>
>
> rlaybe...@hotmail.com wrote:
>> hi
>
>> can someone give me a link to show how to run an idl peice of code
>> from a unix shell script
>
>> thanks
>
>> russ- Hide quoted text -

Hi

Thanks for this. I had a play with it and what i do now is just put

idl -IDL_STARTUP myfile

in the shell script called from the cron job

and myfile is the batchfile which is run

russ
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Confluent Hypergeometric Function of the First Kind
Next Topic: unix like endline in workbench

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

Current Time: Fri Oct 10 09:58:31 PDT 2025

Total time taken to generate the page: 0.72007 seconds