Is there a way to start at program at say 12 am, and stop it at 6 am?


  1. Posts : 4
    Windows 7 Home
       #1

    Is there a way to start at program at say 12 am, and stop it at 6 am?


    Hi

    I use google drive to backup some of my data onto the google servers. My laptop is a bit slow, so if I keep google drive on all the time, it takes up a lot processor computation, as a result other programs run slow. But I would like to backup the data periodically say at night to the google servers.

    The google drive unfortunately doesnt have an option to set a time when the upload and sync should happen.

    So I am wondering if there is a way in windows by which I can start google drive automatically at a certain time and then shut it off automatically at a certain time, regardless of whether the sync has completed or not fully.

    I am not too worried about the sync not completing fully, because the next time the sync happens, google drive always picks up from where it left off. Also it seems google drive only syncs the files that have changed. On most days, I dont create huge files, so 6 hrs or so with google drive on, should be enough.

    Thanks

    Jeff.
      My Computer


  2. Posts : 1,850
    Windows 7 pro
       #2

    Using task manager you can set a task to start at a certain time however I'm not sure about having it stop.
      My Computer


  3. Posts : 6,330
    Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64 +Linux_VMs +Chromium_VM
       #3

    I would set up a Scheduled Task to start the program at 12 AM.
    In the Scheduled Task / Settings, set the Stop the task if it runs longer than 6 hours.
    I've never done this, but that''s what i would try.
      My Computer


  4. Posts : 4
    Windows 7 Home
    Thread Starter
       #4

    Yeah..even when I ask it to stop after 4 hrs, googledrive sync doesnt actually stop.

    Imgur: The most awesome images on the Internet

    Google drive is still running

    Imgur: The most awesome images on the Internet

    Is there a way to kill a task at a certain time, or all tasks with a certain name, at a certain time?
      My Computer


  5. Posts : 757
    Win10 Pro 64-bit
       #5

    I use Windows taskkill function to stop tasks.

    I run BOINC on World Community Grid 24/7. But three mornings a week at 6am, I like to use Eraser on my boot drive to erase all the "unused" space and get rid of improperly deleted data. So that there's no conflicts, I have set up a batch file ("boinckill.bat") to run automatically via Task Scheduler to shut down BOINC at 5:55am.

    In Notepad, I just put

    @echo off
    taskkill /F /im boincmgr.exe
    taskkill /F /im boinc.exe
    taskkill /F /im boinctray.exe

    and saved it as "boinckill.bat" Then I set up Task Scheduler to launch boinckill.bat at 5:55am automatically.

    More info: https://technet.microsoft.com/en-us/.../bb491009.aspx
      My Computer


  6. Posts : 2,774
    Windows 7 Professional 64-bit
       #6

    Gibson's wizmo.exe contains a long list of switches including a couple of OFF/Shutdown switches. However, what I use presently is Wise Automatic Shutdown program -- it can be set to log off, restart, shutdown according to a countdown or a specific time or a specified length of time. I'm not sure if the above-mentioned can help you or not.
      My Computer


 

  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 20:51.
Find Us