Re: Running as service

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Marty List (bill.gates_at_sun.com)
Date: 07/01/04


Date: Thu, 1 Jul 2004 07:31:19 -0600


"GTS" <gtskaran@hotmail.com> wrote in message
news:evJJMb0XEHA.808@tk2msftngp13.phx.gbl...
> Hi There,
>
> I have a vbscript that records time and cpu utilisation of services that
are
> running. The script was written with in a loop, every 15 seconds it will
> records the time and cpu usage.
>
> My problem is I am not found a way to start the script as background
> process. Whenever I logoff the script was terminated. I want this script
> should be started/terminated by means of manual operation. I dont want the
> script should be stopped/terminated by logoff the user.
>
> Any ideas, appreciated.
>
> Thanks
>
> GTS
>

Have you tried the Task Scheduler in the Control Panel? It has the option
to run the task "At System Startup". Or you could try JT.EXE and AT.EXE
command line interfaces.



Relevant Pages

  • RE: Running as Service
    ... | From: "GTS" ... The script was written with in a loop, ...
    (microsoft.public.win2000.general)
  • Running as Service
    ... I have a vbscript that records time and cpu utilisation of services that are ... My problem is I am not found a way to start the script as background ... Whenever I logoff the script was terminated. ...
    (microsoft.public.win2000.general)
  • Running as service
    ... I have a vbscript that records time and cpu utilisation of services that are ... My problem is I am not found a way to start the script as background ... Whenever I logoff the script was terminated. ...
    (microsoft.public.scripting.wsh)
  • Running as Service
    ... I have a vbscript that records time and cpu utilisation of services that are ... My problem is I am not found a way to start the script as background ... Whenever I logoff the script was terminated. ...
    (microsoft.public.scripting.vbscript)
  • Re: script will not run as a scheduled service unless logged on
    ... run the script interactively, and I can run the script as a scheduled job ... OK, at this point, when you say *you* are logged on, what account are you ... The task scheduler log does not report the detail of the error. ... I have already given Batch user full access to cscript.exe, ...
    (microsoft.public.windows.server.scripting)