Re: Running IDL daily as an automatic task [message #80638] |
Wed, 27 June 2012 12:13  |
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   |
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   |
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 #82539 is a reply to message #80638] |
Sun, 16 December 2012 22:51  |
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
|
|
|