Re: windows task scheduler fails to restart
From: Willy Denoyette [MVP] (willy.denoyette_at_pandora.be)
Date: 12/15/04
- Next message: DotNetUser: "how to write a file to UNC folder"
- Previous message: Drunkalot: "Re: Send an object in the network"
- In reply to: chandru: "Re: windows task scheduler fails to restart"
- Messages sorted by: [ date ] [ thread ]
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.
>
- Next message: DotNetUser: "how to write a file to UNC folder"
- Previous message: Drunkalot: "Re: Send an object in the network"
- In reply to: chandru: "Re: windows task scheduler fails to restart"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|