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

Home » Public Forums » archive » Re: Running IDL from cron
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: Running IDL from cron [message #23863 is a reply to message #23862] Thu, 22 February 2001 09:31 Go to previous messageGo to previous message
Kenneth Mankoff is currently offline  Kenneth Mankoff
Messages: 42
Registered: August 1999
Member
This is a pretty ugly hack, but one i use with at and cron.
create a save file of your IDL session, with the following two commands:

IDL> save, /var, file='variables.sav'
IDL> save, /all, file='procedures.sav'

Then, i have my at job restore those two save files.
I usually have my at jobs run a third file that is full of .com commands
to compile any other procedures i'm interested in using...

wait for some other people to respond to this post, i'm sure there is a
better way... :)

-k.


On Thu, 22 Feb 2001, Gwyn Fireman wrote:

> Hi, everyone -
>
> With Deja gone and Google barely functional I have to ask here what I'm
> sure has been addressed before:
>
> How do you run IDL routines from cron - while maintaining IDL_PATH and
> other environment variables?
>
> I have had no trouble running my idl routines using batch or at, when
> starting in the same directory as the main-level routine. In that case
> my environment is copied to the spawned process.
>
> Now I have the need to run these from cron. I have been able to write
> scripts to cd to the appropriate directory and to run my .cshrc (where
> my IDL_PATH and other environment variables are defined), but keep
> running into problems. The latest is than .cshrc bombs on a
> system-level env that apparently isn't defined when running from cron.
>
> So can anyone point me in the right direction?
> I'm running { alpha OSF unix 5.3 Nov 11 1999}.
>
> Many thanks in advance,
> Gwyn Fireman
>
>
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Repeats and Triangulation
Next Topic: Re: significant figures function?

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

Current Time: Fri Oct 10 01:52:06 PDT 2025

Total time taken to generate the page: 0.32051 seconds