New answers tagged scheduled-tasks
If you pop open Task Scheduler and click Create Task, there's a check box under the Conditions tab that will wake the computer to run the task: You could run your batch job from there, and create another task to put the PC back to sleep, or run the shutdown command in your batch job after it finishes (as long as there's a way to tell it has finished.) ...
A very simple command to do what you need is timeout command (your command) TIMEOUT 5 your TASKKILL command where 5 is time in second
Use ping -n 5 127.0.0.1 > nul In the batch at the place where you want to wait and execute the taskkill afterwards. Where -n 5 is the time in seconds to wait +1 because ping waits between pings. Read more here
This is a very similar question to this one: http://stackoverflow.com/questions/735285/how-to-wait-in-a-batch-script here is the answer that one person gave: You can ping an address that surely doesn't exist and specify the desired timeout: ping 192.0.2.2 -n 1 -w 10000 > nul And since the address does not exists, it'll wait 10,000 ms (10 ...
You need to grant "Run as Batch Job" permission to the user that you are running the task as. It is in the Local Security Policy
@martin There's a bug in Googledrivesync that disables restarts if the "Start on login" switch is enabled in the preferences panel. That's why it's flashing when you restart it. (I would have put this message in the comment thread where it belongs but don't have the points to do so.) To use Window's task scheduler to control GoogleDriveSync, disable the ...
I use ProManager on my server, it can start or stop selected apps at a predetermined time interval. Has a detailed log and some other features. It helped me in a similar problem. Description and download: http://www.basicsoft.net/products.html
to do this: 1)Open Scheduled Tasks 2)Create a new scheduled Task 3)In the "General" tab - ensure the following settings are entered: "Run whether user is logged on or not" "Run with highest privileges" "Configure For" (your operating system) 4)In the "Triggers" tab, when adding a trigger (schedule) - ensure that the "Enabled" checkbox is checked The ...
Top 50 recent answers are included