Page 1 of 1

running Eviews as a scheduled task

Posted: Tue Dec 14, 2010 4:16 am
by GeoffC
I need to run a program regularly to analyse data collected each day. I've successfully used the windows task scheduler to start EViews and run the necessary program at 0300 each morning. The command line equivalent to the scheduled task would look like this:

eviews7.exe data_analysis.prg

The only problem is that when the data analysis program completes execution, EViews stays open and needs to be closed manually. I would prefer it to exit automatically once it's done the job. Is there a command line parameter that can instruct EViews to do this, or some other means of achieving the same effect?

Thanks
Geoff

Re: running Eviews as a scheduled task

Posted: Tue Dec 14, 2010 9:01 am
by EViews Gareth
Just use the exit command at the end of your program.

Re: running Eviews as a scheduled task

Posted: Wed Dec 15, 2010 2:35 am
by GeoffC
Thanks Gareth - that works perfectly