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

Home » Public Forums » archive » Re: Running IDL daily as an automatic task
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Running IDL daily as an automatic task [message #80638] Wed, 27 June 2012 12:13 Go to next message
cedgar3@alaska.edu is currently offline  cedgar3@alaska.edu
Messages: 2
Registered: June 2012
Junior Member
On Wednesday, June 27, 2012 8:05:53 AM UTC-8, Starbuck wrote:
> On Tuesday, June 26, 2012 6:41:29 PM UTC-6, ced...@alaska.edu wrote:
>> Can't find much about this, perhaps someone can help. Have a few IDL procedures which need to run daily, feed to website. At one point there was a command line version for windows, what happened to it? I am now running IDL 8 on a Windows server 2008/R2 box, so can't implement some of the suggestions found on this forum, such as create a linux cron task. Rather not use the IDL 'wait' feature, would complicate other work. Many thanks!
>
> A command-line version of IDL is still included in the Windows distribution. For example with IDL 8.2, you can access it by going to Start > Program > IDL 8.2 > Tools > IDL Command Line. The executable file for command-line IDL are located in the following locations:
>
> IDL 8.2:
> 32-bit:
> C:\Program Files\Exelis\IDL82\bin\bin.x86\idl.exe
> 64-bit:
> C:\Program Files\Exelis\IDL82\bin\bin.x86_64\idl.exe
>
> IDL 8.1:
> 32-bit:
> C:\Program Files\ITT\IDL\IDL81\bin\bin.x86\idl.exe
> 64-bit:
> C:\Program Files\ITT\IDL\IDL81\bin\bin.x86_64\idl.exe
>
> If you add the directory that in which the executable is located to the search PATH environment variable, you can use command line IDL by simply entering "idl" into the command prompt.
>
> David
> ExelisVIS

Thanks everyone, good suggestions all. I have now used and tested the IDL.exe solution, works great. Can't believe I didn't realize it was there all along. Colin
Re: Running IDL daily as an automatic task [message #80654 is a reply to message #80638] Wed, 27 June 2012 09:05 Go to previous messageGo to next message
Starbuck is currently offline  Starbuck
Messages: 11
Registered: June 2012
Junior Member
On Tuesday, June 26, 2012 6:41:29 PM UTC-6, ced...@alaska.edu wrote:
> Can't find much about this, perhaps someone can help. Have a few IDL procedures which need to run daily, feed to website. At one point there was a command line version for windows, what happened to it? I am now running IDL 8 on a Windows server 2008/R2 box, so can't implement some of the suggestions found on this forum, such as create a linux cron task. Rather not use the IDL 'wait' feature, would complicate other work. Many thanks!

A command-line version of IDL is still included in the Windows distribution. For example with IDL 8.2, you can access it by going to Start > Program > IDL 8.2 > Tools > IDL Command Line. The executable file for command-line IDL are located in the following locations:

IDL 8.2:
32-bit:
C:\Program Files\Exelis\IDL82\bin\bin.x86\idl.exe
64-bit:
C:\Program Files\Exelis\IDL82\bin\bin.x86_64\idl.exe

IDL 8.1:
32-bit:
C:\Program Files\ITT\IDL\IDL81\bin\bin.x86\idl.exe
64-bit:
C:\Program Files\ITT\IDL\IDL81\bin\bin.x86_64\idl.exe

If you add the directory that in which the executable is located to the search PATH environment variable, you can use command line IDL by simply entering "idl" into the command prompt.

David
ExelisVIS
Re: Running IDL daily as an automatic task [message #80663 is a reply to message #80654] Wed, 27 June 2012 05:54 Go to previous messageGo to next message
Brian Daniel is currently offline  Brian Daniel
Messages: 80
Registered: July 2009
Member
On Tuesday, June 26, 2012 8:41:29 PM UTC-4, ced...@alaska.edu wrote:
> Can't find much about this, perhaps someone can help. Have a few IDL procedures which need to run daily, feed to website. At one point there was a command line version for windows, what happened to it? I am now running IDL 8 on a Windows server 2008/R2 box, so can't implement some of the suggestions found on this forum, such as create a linux cron task. Rather not use the IDL 'wait' feature, would complicate other work. Many thanks!

I've been able to schedule non-IDL tasks on Windows 7 with Windows Scheduler. You'd have to create an executable of sorts, such as a .bat file with a call to IDL (that would work at the DOS window). Its worth Googling to see if this is viable.
Re: Running IDL daily as an automatic task [message #80672 is a reply to message #80663] Tue, 26 June 2012 18:26 Go to previous messageGo to next message
Matt Francis is currently offline  Matt Francis
Messages: 94
Registered: May 2010
Member
I have little experience doing much more than watching amusing videos
of cats on Windows machines, however if you are stuck with Windows,
you could look at using Cygwin. This allows you to use a crontab in
order to do scheduled tasks, then you can implement the linuxy
suggestions you have already found.
Re: Running IDL daily as an automatic task [message #82539 is a reply to message #80638] Sun, 16 December 2012 22:51 Go to previous message
greg.addr is currently offline  greg.addr
Messages: 160
Registered: May 2007
Senior Member
I tried to do a similar thing, but using idlrt.exe with a compiled .sav file:

idlrt.exe -rt=prog.sav

It works fine from the windows command line, but if I set it to run when I'm not at the computer, it seems to change behaviour, producing a splash screen like the virtual machine. Of course, it gets stuck, because there's no-one to click it.

Is it supposed to do this? Is there a way to run a .sav file using idl.exe?

greg
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Need Help With idl library rpcidl.a
Next Topic: Resolve_All problem

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

Current Time: Wed Oct 08 11:41:24 PDT 2025

Total time taken to generate the page: 0.00496 seconds