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
FreddyC

 
 
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 W7) that does this? Or just a tweak for windows that would do the trick?

Thanks.


My System SpecsSystem Spec
.

09 Apr 2009   #2
Orbital Shark

 
 

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
Pogi

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 W7) 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
LePoilu

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
Barman58

Windows 8.1 Pro x64 x3 + Windows 10 Preview, Ubuntu
 
 

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
FreddyC

 
 

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
Barman58

Windows 8.1 Pro x64 x3 + Windows 10 Preview, Ubuntu
 
 

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
LePoilu

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
Barman58

Windows 8.1 Pro x64 x3 + Windows 10 Preview, Ubuntu
 
 

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
G2gCya

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





Similar help and support threads
Thread Forum
Windows Installer - Every Time Programs Open / Certain Actions
On my new laptop (Win 7 Pro), which is set up the same as my new PC (Win 7 Pro), almost every time I open up a program, I see a quick instance of Windows Installer showing up. Most of the time it doesn't get in the way, but I can tell it slows things down, and it definitely messes with Mozilla...
General Discussion
Screen keeps dimming to black when I open or close programs
I've had an issue for 3-6 months that I assumed was an o/s bug from an update that would get fixed in a future update - but it still seems to be here. It's sporadic - but what happens is that my monitor will dim to black and then come back after a few seconds. Typically it happens when I close...
General Discussion
explorer.exe freezing in time, won't open programs or update itself
Hi all, My explorer.exe is bugging. I cannot open anything, even Windows Task Manager and it seems to be that it's frozen in time. Windows Task Manager is not open, and I have two icons in my tray for it, both frozen. Skype won't update itself, like, my friend, I was IMing him and I read the IM,...
General Discussion
Any possible method to edit startup programs of an OS on a ext HD ?
My laptop crashed and I suspected it could be due to a bugged startup peogram issue. I connected my laptop HD to another laptop, but I couldn't find any method to enter the msconfig of the Windows OS of the connected HD. Any help please ? :D
General Discussion
Program to automatically close and open other programs?
When I'm running on battery power, I'd like to be able to close certain programs to save power (e.g. that send a smile/frown thing for MS Office 2010 beta, Skype, MSN, my dictionary program etc), but instead of closing them one by one, which is a bit of a kerfuffle, I'd like to able to do it with a...
Software
FF 3.5.1 won't close every time
It doesn't happen all the time but it happens quite a lot. I close FF using the X top RH corner,all looks good. Go to reopen and nothing happens. Start task manager and FF is not present in Applications but in processes firefox.exe is running. I end ff.exe then start ff and it opens up to the...
Browsers & Mail

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 18:51.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App