Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.



Windows 7: Method to open and close programs at a specific time?

09 Apr 2009   #1

 
 
Method to open and close programs at a specific time?

Hi guys,

I need a way to open and close a program, .exe for example, at a specific time and close it again at a later time. Are there any softwares for windows (especially Windows 7) that does this? Or just a tweak for windows that would do the trick?

Thanks.

My System SpecsSystem Spec
09 Apr 2009   #2

 
 

You can use 'Task Scheduller' to run specific files (exe, MP3, AVI). You can set specific conditions on when to start and when to stop. I don't use the program but as far as i can see there are plenty of customization available.
My System SpecsSystem Spec
09 Apr 2009   #3

Windows 2000
 
 

Quote   Quote: Originally Posted by FreddyC View Post
Hi guys,

I need a way to open and close a program, .exe for example, at a specific time and close it again at a later time. Are there any softwares for windows (especially Windows 7) that does this? Or just a tweak for windows that would do the trick?

Thanks.
Try Autoit, see if it fits the bill.
My System SpecsSystem Spec
.


09 Apr 2009   #4

Vista H.P. SP1 x32 Seven RC x64
 
 

Task Scheduler (windows feature) is the easiest way to do this.
My System SpecsSystem Spec
09 Apr 2009   #5

Windows 7 Ultimate x64 x2 + x86 + Windows 8.1 x64 x2
 
 

Hello Freddy,

This basic tutorial from our other site should give you all the basics you need without having to add any 3rd party programs, It's for Vista but the basics still apply.

Task Scheduler - Create Task - Vista Forums
My System SpecsSystem Spec
09 Apr 2009   #6

 
 

Thanks a lot for the help guys, I just set the task scheduler up. I actually forgot this function was there, never used it though.

One question, if the task is to open a program, how to you close (terminate) it? I put under "stop task if running longer than" option in Triggers tab. Is this how you do it? I noticed there were 2 "stop task if running longer than" options: one in Triggers, one in Settings tab, I unchecked the other one, will this affect anything?

Thanks!
My System SpecsSystem Spec
09 Apr 2009   #7

Windows 7 Ultimate x64 x2 + x86 + Windows 8.1 x64 x2
 
 

Hi Freddy,

The closing is normally best left to the actual program to terminate itself, where this is possible, If you use the scheduler to close the program after a time you do run the risk of data loss caused by closing the program whilst a write is in progress.

If you have to use the scheduler either method of closing the program should work, but is always best to try out any set-up to see which works the best in the particular circumstances
My System SpecsSystem Spec
09 Apr 2009   #8

Vista H.P. SP1 x32 Seven RC x64
 
 

Unfortunatly, closing a software via task scheduler couldn't be other way than killing the task.

Myself I use the command "taskkill" for closing Outlook before daily save of my *.pst files (no access allowed to this files until outlook is running).
My System SpecsSystem Spec
09 Apr 2009   #9

Windows 7 Ultimate x64 x2 + x86 + Windows 8.1 x64 x2
 
 

If you need to "Kill" more than one process to complete your schedule you may want to have a look at KillProcess, which is quite customisable ....

Orange Lamp Software Solutions

Obviously I have to say again that allowing a process to complete naturally is the best way if at all possible
My System SpecsSystem Spec
11 Apr 2009   #10

Windows 7 Home Premium x64
 
 

try running a batch file maybe?
My System SpecsSystem Spec
Reply

 Method to open and close programs at a specific time?





Thread Tools




Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 05:37 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33