Shutting down apps
-
Is there a way, applications can be shutdown at a certain time (as they can be started using the task scheduler). I looked up everything in task scheduler and there is nothing in there. I use Task scheduler to start certain applications at 7:00 am and is looking for something to shut them down at 9:00 pm. Thanks Thomas
-
Is there a way, applications can be shutdown at a certain time (as they can be started using the task scheduler). I looked up everything in task scheduler and there is nothing in there. I use Task scheduler to start certain applications at 7:00 am and is looking for something to shut them down at 9:00 pm. Thanks Thomas
Set the max run time using the task scheduler. On the 'Settings' page, 'Stop Task after' check box. See also ITask::SetMaxRunTime in MSDN. HTH:) --- CPUA 0x5041 Sonork 100.11743 Chicken Little It may be that your sole purpose in life is simply to serve as a warning to others.
-
Set the max run time using the task scheduler. On the 'Settings' page, 'Stop Task after' check box. See also ITask::SetMaxRunTime in MSDN. HTH:) --- CPUA 0x5041 Sonork 100.11743 Chicken Little It may be that your sole purpose in life is simply to serve as a warning to others.
-
Set the max run time using the task scheduler. On the 'Settings' page, 'Stop Task after' check box. See also ITask::SetMaxRunTime in MSDN. HTH:) --- CPUA 0x5041 Sonork 100.11743 Chicken Little It may be that your sole purpose in life is simply to serve as a warning to others.
-
It works when the task is scheduled directly rather than through a batch file. :) Btw, What is HTH? Thomas
Thomas George wrote: Btw, What is HTH? Happy To Help? ____________________ David Wulff I watch how the moon sits in the sky On a dark night shining with the light from the sun The sun doesn't give light to the moon Assuming the moon's going to owe it one It makes me think of how you act to me You do favours and then rapidly You just turn around and start asking me about Things you want back from me - Linkin Park
-
It works when the task is scheduled directly rather than through a batch file. :) Btw, What is HTH? Thomas
-
Thomas George wrote: Btw, What is HTH Hope That Helps --- CPUA 0x5041 Sonork 100.11743 Chicken Little It may be that your sole purpose in life is simply to serve as a warning to others.
D'oh - still, I wasn't far off. ____________________ David Wulff I watch how the moon sits in the sky On a dark night shining with the light from the sun The sun doesn't give light to the moon Assuming the moon's going to owe it one It makes me think of how you act to me You do favours and then rapidly You just turn around and start asking me about Things you want back from me - Linkin Park
-
Thomas George wrote: Btw, What is HTH? Happy To Help? ____________________ David Wulff I watch how the moon sits in the sky On a dark night shining with the light from the sun The sun doesn't give light to the moon Assuming the moon's going to owe it one It makes me think of how you act to me You do favours and then rapidly You just turn around and start asking me about Things you want back from me - Linkin Park
I've always used it to represent "Hope this helps" Cheers, Tom Archer Author, Inside C#
-
D'oh - still, I wasn't far off. ____________________ David Wulff I watch how the moon sits in the sky On a dark night shining with the light from the sun The sun doesn't give light to the moon Assuming the moon's going to owe it one It makes me think of how you act to me You do favours and then rapidly You just turn around and start asking me about Things you want back from me - Linkin Park
Oops! Didn't realize that PJ had already told you. Cheers, Tom Archer Author, Inside C#
-
Is there a way, applications can be shutdown at a certain time (as they can be started using the task scheduler). I looked up everything in task scheduler and there is nothing in there. I use Task scheduler to start certain applications at 7:00 am and is looking for something to shut them down at 9:00 pm. Thanks Thomas
You could write a small app that found the console window then its process handle and did a terminate thread (more or less). As long as the console app didn't barf at being terminated in this way, then this would work. Neville Franks, Author of ED for Windows. www.getsoft.com