Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Idl-pvware > Re: running idl...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 7 Topic 5386 of 6252
Post > Topic >>

Re: running idl from a cron job

by pgrigis@[EMAIL PROTECTED] Feb 1, 2008 at 11:36 AM

Well, here's how I do it (there may be other ways tough).

Define a shell script doing two things:

- set up an IDL_STARTUP environmental variable with the full path to a
valid
IDL program (let's say is called idl_startup.pro)
- start idl

Then, in idl_startup.pro put in

[your initialization for IDL]

your_program

exit
end

This way, you can put the shell script in your cron table,
and this will execute your IDL initializations, then
the program called your_program and exit IDL when
your_program is finished.

Ciao,
Paolo


rlaybe...@[EMAIL PROTECTED]
 wrote:
> hi
>
> can someone give me a link to show how to run an idl peice of code
> from a unix shell script
>
> thanks
>
> russ
 




 7 Posts in Topic:
running idl from a cron job
rlayberry@[EMAIL PROTECTE  2008-02-01 09:19:47 
Re: running idl from a cron job
pgrigis@[EMAIL PROTECTED]  2008-02-01 11:36:30 
Re: running idl from a cron job
"mgalloy@[EMAIL PROT  2008-02-01 14:26:21 
Re: running idl from a cron job
Benjamin Hornberger <h  2008-02-02 10:25:15 
Re: running idl from a cron job
rlayberry@[EMAIL PROTECTE  2008-03-05 06:44:51 
Re: running idl from a cron job
"mgalloy@[EMAIL PROT  2008-03-05 07:43:37 
Re: running idl from a cron job
rlayberry@[EMAIL PROTECTE  2008-03-06 01:37:30 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Oct 11 16:22:45 CDT 2008.