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 #87726 is a reply to message #87719] Tue, 25 February 2014 08:02 Go to previous messageGo to previous message
Mats Löfdahl is currently offline  Mats Löfdahl
Messages: 263
Registered: January 2012
Senior Member
Den tisdagen den 25:e februari 2014 kl. 16:35:31 UTC+1 skrev Paul van Delst:
> 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?

Put the commands you would give at the IDL prompt (like, .run batch.pro) in a file (say, promptcommands.pro). Then you can run it from the shell like this:

$ idl < promptcommands.pro
[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: Sat Oct 11 06:13:44 PDT 2025

Total time taken to generate the page: 0.24091 seconds