Method to open and close programs at a specific time?

Page 1 of 2 12 LastLast

  1. Posts : 15
    XP
       #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 W7) that does this? Or just a tweak for windows that would do the trick?

    Thanks.
      My Computer


  2. Posts : 6,305
    Windows 7 Ultimate x64
       #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 Computer


  3. Posts : 20
    Windows 2000
       #3

    FreddyC said:
    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 Computer


  4. Posts : 234
    Vista H.P. SP1 x32 Seven RC x64
       #4

    Task Scheduler (windows feature) is the easiest way to do this.
      My Computer


  5. Posts : 31,249
    Windows 11 Pro x64 [Latest Release and Release Preview]
       #5

    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 Computers


  6. Posts : 15
    XP
    Thread Starter
       #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 Computer


  7. Posts : 31,249
    Windows 11 Pro x64 [Latest Release and Release Preview]
       #7

    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 Computers


  8. Posts : 234
    Vista H.P. SP1 x32 Seven RC x64
       #8

    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 Computer


  9. Posts : 31,249
    Windows 11 Pro x64 [Latest Release and Release Preview]
       #9

    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 Computers


  10. Posts : 134
    Windows 7 Home Premium x64
       #10

    try running a batch file maybe?
      My Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About 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 14:02.
Find Us