Joshua Weage wrote:
>> Certainly, you did something wrong (paths? username? password?). What
>> is 
>> the eventlog saying?
> 
> Nothing.  Schtasks is logged to C:\Windows\SchedLgU.Txt which just
> shows that the task was started, but the cmd.exe process never exits
> and I never see wpkg-start.bat show up in the task list.
> 
> schtasks /create /ru GLOBAL\warwpkg /rp password /sc daily /tn wpkg /tr
> \\warlns2.global.arup.com\netboot\test.bat /st 23:00:00
> 
> Task accepted.
> 
> schtasks /run /tn wpkg
> 
> Task is run.  Output shows up in C:\test.log, created by test.bat.
> 
> schtasks /delete /tn wpkg
> schtasks /create /ru GLOBAL\warwpkg /rp password /sc daily /tn wpkg /tr
> \\warlns2.global.arup.com\netboot\wpkg-0.9.10\wpkg-start.bat /st
> 23:00:00
> 
> Task accepted.
> 
> schtasks /run /tn wpkg
> 
> Task is run and stays running forever until I kill the cmd.exe process
> with task manager.  No output to eventlog.  SchedLgU.Txt just shows the
> job exited with an error.

And how does your wpkg-start.bat file look like?

What if you insert something like "echo %TIME% %DATE% > C:\1" before 
"cscript ...", and something similar (with output to C:\2) after 
starting "cscript ..."?


>> One other thing you could try is to use the installer:
>>
>> http://wpkg.org/files/beta/installer/wpkg-installer-0.50.zip
>>
>>
>> And restart the service periodically (via schtasks, as a SYSTEM user,
>> so 
>> no password needed):
> 
> I may end up doing this.  I prefer to have wpkg run via group policy
> startup scripts, but that isn't completely working for me.

If you have a AD controller, than you can just add a startup script for 
all machines...


-- 
Tomasz Chmielewski
http://wpkg.org

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
wpkg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wpkg-users

Reply via email to