Re: windows task scheduler fails to restart

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Willy Denoyette [MVP] (willy.denoyette_at_pandora.be)
Date: 12/15/04


Date: Wed, 15 Dec 2004 23:23:39 +0100

Ok, I didn't read your original post completely.
One more question, why are you restarting a new instance (that has to kill
the previous instance) every minute?
Why don't you let run your single instance in the first place? You can
prevent a new instance to start from the shell by a guard like a global
mutex.
Note that both Task scheduler and Windows services are not meant to show
anything to the user (no forms or dialogs); they are meant to run when
no-one is even logged-on interactively.

Willy.

"chandru" <chandru.govind@gmail.com> wrote in message
news:1103145634.004206.83230@f14g2000cwb.googlegroups.com...
> When a new instance starts it checks if the same process is running
> already and kills it. You can easily compare the process ids of the
> processes running in the system.
>



Relevant Pages

  • Re: Recovered items after a reboot...
    ... You can kill the running version from Activity Monitor. ... There are so many processes running in Activity Monitor, ... kdcmond - key distribution centre for Red-mond? ...
    (uk.comp.sys.mac)
  • Re: Recovered items after a reboot...
    ... You can kill the running version from Activity Monitor. ... There are so many processes running in Activity Monitor, ... disabling stuff... ...
    (uk.comp.sys.mac)
  • Re: Listing processes and killing processes through command line in W indows
    ... >are there any windows utility that allows listing of all processes running ... >on the machine on the command line? ... good one and allows either a *close* or a *kill*. ...
    (Security-Basics)
  • Re: Unkillable processes with libKSE
    ... The signals in libKSE are known to be 'delicate'. ... Other than not being able to kill it, ... > The offending threads are: ... > Kernel has ddb in it and I'll leave the processes running as they don't ...
    (freebsd-current)
  • Re: New virus poses as CNN Breaking News
    ... <top posting idiot - quote moved to the correct place> ... | "David Postill" wrote in message ... Your two examples kill or make very sick. ... I was just pointing out a deficiency in your original post. ...
    (alt.computer.security)