Run a program every 3 minutes

For questions regarding programming in the EViews programming language.

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

Jariel
Posts: 12
Joined: Wed May 13, 2015 8:25 am

Run a program every 3 minutes

Postby Jariel » Mon Nov 09, 2015 7:35 pm

I have an eviews program that i would like to run regularly (for example every 3 minutes). Is that possible/how to do that?

It would be even better if could set the time it should run (for example 15:00 daily).

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

Re: Run a program every 3 minutes

Postby EViews Gareth » Mon Nov 09, 2015 9:06 pm

Best way to do it is with Windows Scheduler or some other service outside of EViews. If you run EViews from a command prompt you can specify the name of a program as an argument. Example script:

Code: Select all

c:\program files\EViews 9\eviews9.exe c:\myfiles\myeviewsprog.prg
If the last line of your EViews program contains the exit command, EViews will close after running.

Jariel
Posts: 12
Joined: Wed May 13, 2015 8:25 am

Re: Run a program every 3 minutes

Postby Jariel » Tue Nov 10, 2015 5:03 am

Thanks, exactly what i wanted.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests