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 #59091 is a reply to message #58426] Wed, 05 March 2008 07:43 Go to previous message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
On Mar 5, 7:44 am, rlaybe...@hotmail.com wrote:
> 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

You can do that without the using the startup option:

$ idl myfile

will run the myfile.pro batch file (put an exit at the end if you want
IDL to quit at the end). You can also execute an arbitrary command:

$ idl -e "surface, hanning(20, 20)"

Full options are described in the online help here:

http://idlastro.gsfc.nasa.gov/idl_html_help/Command_Line_Opt ions_for_IDL_Startup.html

Mike
--
www.michaelgalloy.com
Tech-X Corporation
Software Developer II
[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: Sat Oct 11 12:14:51 PDT 2025

Total time taken to generate the page: 0.55785 seconds