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

Home » Public Forums » archive » How to use IDL in a cronjob?
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: How to use IDL in a cronjob? [message #87724 is a reply to message #87719] Tue, 25 February 2014 07:58 Go to previous messageGo to previous message
Helder Marchetto is currently offline  Helder Marchetto
Messages: 520
Registered: November 2011
Senior Member
On Tuesday, February 25, 2014 4:35:31 PM UTC+1, Paul van Delst wrote:
> Hello,
>
>
>
> I have a bunch of cronjobs that run various tests daily. A shell script
>
> is invoked that does all the heavy lifting, invoking various compiled
>
> executables.
>
>
>
> What I would like to do is to add an additional step to my script that
>
> invokes IDL to plot the results of those tests.
>
>
>
> I have an IDL batch file that I can invoke at the IDL prompt that
>
> generates the plots.
>
>
>
> But how do I invoke that batch file at the OS prompt in a
>
> non-interactive shell process?
>
>
>
> Thanks for any info.
>
>
>
> cheers,
>
>
>
> paulv

Not sure if this is what you need, but what I do is use the idl virtual machine (I think !).
You have to locate the file idlrt.exe in you idl distribution and then use it like this (on windows!):
c:\>"c:\Program Files\Exelis\...\idlrt.exe" d:\MySoft\testfile.sav

Of course you need to make a sav file before hand.
Also, I'm not sure how this would look like on linux, but I just guess you need an extra ./ before the executable.

Hope it helps.

Invokingly yours,
Helder
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Segfault opening graphics window
Next Topic: Using a text list to populate a LIST() in IDL

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

Current Time: Fri Oct 10 17:43:46 PDT 2025

Total time taken to generate the page: 1.28044 seconds