Hello
I have set up a file that runs multiple program files using the include command and runs fine when I run the file manually. When using the windows task scheduler, the program is shown as running (for a long period) without producing any results (e.g. exporting files).
Any ideas why this is happening and potential ways around it?
Thanks
George
Task Scheduler for multiple prg files
Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt
-
- EViews Developer
- Posts: 799
- Joined: Tue Sep 16, 2008 3:00 pm
- Location: Irvine, CA
Re: Task Scheduler for multiple prg files
I would first try changing the user account being used to run the task to your own to make sure it’s not a security/permissions issue.
Next, I would turn on logmode with a filename and autosave=on so that you can see how far the program is getting and where it might be getting stuck.
Then, while the task is running verify that you can see the EViews executable running in the list of running programs (you’ll probably have to show programs across all users if you didn’t change the scheduled task’s user account).
Next, I would turn on logmode with a filename and autosave=on so that you can see how far the program is getting and where it might be getting stuck.
Then, while the task is running verify that you can see the EViews executable running in the list of running programs (you’ll probably have to show programs across all users if you didn’t change the scheduled task’s user account).
Re: Task Scheduler for multiple prg files
Thanks Steve. I appreciate your quick response (on a Saturday).
I resolved the issue. It was not associated with the insert command. Potentially there is a bug. if the program I call (through the scheduler) and/or the folder where the program is saved starts with a numeric character (e.g. 0.Run, 1. Data folder), the task scheduler does not recognise the file as prg...
I will leave this to you.
Merry Christmas.
George
I resolved the issue. It was not associated with the insert command. Potentially there is a bug. if the program I call (through the scheduler) and/or the folder where the program is saved starts with a numeric character (e.g. 0.Run, 1. Data folder), the task scheduler does not recognise the file as prg...
I will leave this to you.
Merry Christmas.
George
-
- EViews Developer
- Posts: 799
- Joined: Tue Sep 16, 2008 3:00 pm
- Location: Irvine, CA
Re: Task Scheduler for multiple prg files
I think that's more of an issue with Windows instead of EViews. If you try to run any exe or batch file whose name starts with a number, Windows will have trouble with it (I believe).
Who is online
Users browsing this forum: No registered users and 45 guests