running Eviews as a scheduled task

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

GeoffC
Posts: 10
Joined: Tue Sep 14, 2010 12:23 am

running Eviews as a scheduled task

Postby GeoffC » Tue Dec 14, 2010 4:16 am

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

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13603
Joined: Tue Sep 16, 2008 5:38 pm

Re: running Eviews as a scheduled task

Postby EViews Gareth » Tue Dec 14, 2010 9:01 am

Just use the exit command at the end of your program.

GeoffC
Posts: 10
Joined: Tue Sep 14, 2010 12:23 am

Re: running Eviews as a scheduled task

Postby GeoffC » Wed Dec 15, 2010 2:35 am

Thanks Gareth - that works perfectly


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 1 guest