Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hi,
I was wondering if someone could help, as I am new to this kind of stuff. (Hopefully I have posted in the right category!)
Particulars:
Windows Server 2003, classic aspI have created a scheduled task that runs a .vbs file.
That .vbs file opens internet explorer on the server, and gos to the root of my domain an runs a script tasktest.asp.
tasktest.asp contains the simple code for testing:
<% Dim strXML strXML = "tasktest.asp ran and printed this message" thedate = Now() strXML = strXML & " - the date this was printed was " & thedate Set fs=Server.CreateObject("Scripting.FileSystemObject") Set ctf = fs.CreateTextFile(Server.MapPath("tasktest.txt"), 2) ctf.WriteLine(strXML) ctf.Close Set fs=nothing %>
When I manually run the scheduled task, the file tasktext.txt is created in the root directory fine. when I set the scheduled task to run within the next few minutes, and then log out and wait for it to run automatically and log back in, I get the success code that the scheduled task has run '0X0' and the time is updated. However the file tasktest.txt is not updated.I have tried right clicking on the scheduled task, going to properties and setting the password for the ST that I use to log into the server but this does not solve this issue.
Does anyone have any ideas of what I can try? I don't normally deal with the server stuff so I am not up on the lingo etc.., but any help is greatly appreciated!
Thanks for your assistance!

Sorry I forgot to say, for the scheduled task, under properties/security, the group or user names are Administrators, SYSTEM, MYNAME (this is the user I log in as).
All have full control permissions as I can tell.

![]() |
Changing Motherboard in 2...
|
Veritas Backup Exec new t...
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |