Re: Problems running script as service
From: Joseph Acosta (jacosta_at_san.rr.com)
Date: 02/26/04
- Next message: Roger: "Extra attributes"
- Previous message: Michael Harris \(MVP\): "Re: Display the Keys property of the SWbemObjectPath object..."
- In reply to: Jim Y.: "Problems running script as service"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 25 Feb 2004 20:19:39 -0800
Maybe as an alternative to running this as a service, run it as a scheduled
task that occurs at whatever interval you need.
"Jim Y." <anonymous@discussions.microsoft.com> wrote in message
news:383D7CA9-F2F4-4AEF-8DAF-F563887FF238@microsoft.com...
> I have a script that I've set up to run as a service. It does some things
and then sleeps for 20 seconds, then looks for things to do, then sleeps
again.
>
> The service seems to start ok and does what it should do for a while.
Later, it stops working.
>
> If I run the script in the foreground, it runs forever.
>
> A friend of mine stopped by this morning and is having the same problem.
>
> I'm using srvany with the following parameter:
>
> Application: c:\winnt\system32\cscript.exe
> AppParameters: c:\gs\pstopdf.js (this is the javascript it is
running)
>
> Thank you.
> Jim
- Next message: Roger: "Extra attributes"
- Previous message: Michael Harris \(MVP\): "Re: Display the Keys property of the SWbemObjectPath object..."
- In reply to: Jim Y.: "Problems running script as service"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|