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 #58562 is a reply to message #58426] Fri, 01 February 2008 11:36 Go to previous messageGo to previous message
pgrigis is currently offline  pgrigis
Messages: 436
Registered: September 2007
Senior Member
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
[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 10:07:32 PDT 2025

Total time taken to generate the page: 0.32377 seconds