Quantcast
Channel: Windows XP Service Pack 3 (SP3) forum
Viewing all articles
Browse latest Browse all 2088

Scheduled Tasks not running properly after logoff

$
0
0

Hello,

I have an Excel file, stored on our public network drive, that needs to be "checked" daily with one of its own macros, regardless of whether my local computer is turned on.  I've tried using Scheduled Tasks in Windows XP (1) to access the network location directly and then, that failing, (2) to start up a batch file on my computer that does the opening itself.  I should add that, to avoid triggering the entire Workbook_Open() macro, I've had another Excel file opened and then used Application.Run to launch the macro I need.   

Scheduled Tasks seemingly provides for running tasks even when one is logged off, but the process has not worked once -- except when I'm logged in.  With attempt (1), the next time I log in the task is shown as "Running" even though no obvious progress is being made.  The log showed the task starting but not ending.  The same thing happens with attempt (2).

Here is the text of my batch file:

net use Z: /delete /y
net use Z: \\[ServerName]]\Kerfluffle\Employees\[Me]
z:
book2.xlsm
exit
REM ^^^ inserted b/c the file is still shown as in use otherwise

What am I doing wrong?  Should I take a different approach?


Viewing all articles
Browse latest Browse all 2088

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>