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: Is there a way to start at program at say 12 am, and stop it at 6 am?

29 Jun 2016   #1

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


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.



My System SpecsSystem Spec
29 Jun 2016   #2

Windows 7 pro 64-bit

Using task manager you can set a task to start at a certain time however I'm not sure about having it stop.
My System SpecsSystem Spec
29 Jun 2016   #3

Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64

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 System SpecsSystem Spec

30 Jun 2016   #4

Windows 7 Home

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 System SpecsSystem Spec
30 Jun 2016   #5

Win7 Pro 32bit

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:
My System SpecsSystem Spec
30 Jun 2016   #6

Windows 7 Professional 64-bit

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 System SpecsSystem Spec

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

Thread Tools

Similar help and support threads
Thread Forum
STOP: C0000135 The program can't start because %hs is missing.
I decided to reinstall Windows because my computer was kinda slowed down and installed it on my SSD before formatting my main hard drive and the SSD itself. The problem is that I can't install the windows updates correctly. All I did was installing some drivers from the support disc and the windows...
Windows Updates & Activation
Stop/Start a program running on a server with a script
Have a licensing server running on a Windows 2012 R2 server that hangs on sessions. The only way to free up the sessions is to restart the licensing server. Is it possible to create a batch file or script to stop and start the licensing server from a desktop on the network?
General Discussion
STOP: C0000135 The program can't start because %hs is missing from you
"STOP: C0000135 The program can't start because %hs is missing from your computer. Try reinstalling the program to fix the problem Hello all, This is the first time I have ever asked for help on an online forum, in most cases I have been able to fix the problem myself, however on this occasion...
General Discussion
STOP: c0000135 The program can't start because %hs is missing
Free pills! <-Never mind... I do not have AVG installed. I believe this was effected by a virus (as just before I could not boot I had the "Win 7 Home Security" virus pop up). How do I boot up my computer without losing my files? I've tried the Googles, but nothing is working. I do not...
BSOD Help and Support
start and stop a program
hi all im after a free program that i can start a program at a set time and close that program at a set time im runing windows 7 64bit also im not to tech savey on software any help would be great
Stop a program appearing in shortcuts in start menu
Hi lads, Just wonderin if there's anything i can do to stop a certain program appearing in the shortcut menu when you click on start. All help would be appreciated . Thanks, Dave
General Discussion

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 03:51.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App