To set up sheduled events, you need to have rights to the machine that will be running the scheduled eventâand I donât mean just access to resources on the machine such as files and folders.
If your IT department is not willing to set this up for you, Iâm sure they wonât be willing to give you admin rights to the machine, nor the software to administer that server from your workstation location...
This is not a code issue; it is a configuration issue.
If you double-click on Y:\Cost\Wally\Past Daily Runs\Test.xls when you are looking at it from your workstation using Windows explorer, or if you create a shortcut to it, or if you enter "Y:\Cost\Wally\Past Daily Runs\Test.xls" in the Start>[u]R</u>un dialogâin other words, if you use any of the methods Windows has to execute a file with its parent applicationâthe application starts on your machine, in your machineâs memory, and uses the file that resides on a server as the data source.
When your machine is turned off/logged out there is no way to run an application in its memory, using its processorâit is turned off.
That's why the application (Excel in this case) needs to be initiated from the serverâso it will run on the server.
Scheduler invokes a program on the machine that has that event scheduled on it. Somebody is going to have to get that server (or some networked machine that is on overnight) to have this task set up in its scheduled events. You, the IT department, somebody.
|