Discussion Locked

W2K Task Scheduler and VB and VBScript

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have two simple apps that I need to run nightly via the task scheduler. Problem is they won't. Both apps run if started manually and perform exactly as designed. The task scheduler is set to a local admin account (not SYSTEM) that also has Full control permissions to the apps and the shares. Still no luck.

Any suggestions would be greatly appreciated.

Sean

2 replies

by Lamont Adams

What do your apps do? Do you get any error messages, either from the app or in the event logs? Any advanced settings?

by glen_mcleod

VBS needs a user to be logged in and active, not locked (as in ctl-alt-del, lock). It will not work otherwise.

A compiled VB app should work fine. Have you removed all UI elements (including MsgBox), and set the "Unattended Execution" option?
Glen

This discussion is closed to new replies.