A scheduled task is a job scheduled to run at a specific time and frequency and run a specific command on the operational system.

learn more… | top users | synonyms (1)

0
votes
1answer
34 views

Windows scheduled task - .bat runs forever

I've a scheduled task to clean up folders on a hard drive automatically; it removes files older than a certain amount of days. Basically it runs a .bat file full of lines that looks like this: ...
1
vote
2answers
7k views

Windows scheduled tasks fail with 0x1, don't log errors

I have three Python scripts running overnight as scheduled tasks on a Windows Server 2008 VM. I can run them manually with no problems. But when I look at the Task Scheduler each morning, the first ...
1
vote
1answer
27 views

Should a scheduled task remain in the “Running” state?

I'm new to using the task scheduler and I'm using it to run a batch file provided online when the computer boots. I r-clicked it and told it to run. It did and all is fine, but the Status of the task ...
0
votes
2answers
2k views

Windows scheduled Task - Stopping & Starting a service

How can I go by setting up a scheduled task that will cancel a java console and then start it up again? I need to restart my wowza service because of some java heap allocating memory error that seems ...
4
votes
9answers
1k views

How can I write a cron job that will block my internet from 7pm to 7am? (So I can get some sleep)

I am using OSX 10.6 and it has cron built in. How can I write a cron job that will block my internet from 7pm to 7am every day? Im sure this must be simple but I could only find one example online ...
0
votes
0answers
24 views

How can I schedule restart of my network connection?

I schedule my PC to turn on an hour before I arrive work so that it can run tasks while I'm on my way. However, one time, there was a task which needs internet connection but unknowingly, the wifi ...
2
votes
5answers
3k views

How to automatically move a file to another PC on the network?

Here is what I am after. I have 2 PCs connected on a network and one of them prints out an excel spreadsheet every night to a specific folder. is it possible to use a batch script to copy that file ...
0
votes
1answer
21 views

Possible to schedule a task to browse to a webpage in an already-open browser?

In Windows, I'm trying to schedule a task that visits a predefined webpage every morning before I wake up, but doing so in any already-open browser (if there's one available). I jump between Pale ...
2
votes
1answer
42 views

How to prevent scheduled tasks from running as soon as computer wakes up?

Example: I have a task that is scheduled for 6 am every day (only if I'm logged on). If my computer sleeps/hibernates all night until 9am, upon waking up the task will then run even though it missed ...
4
votes
2answers
38 views

Power Management: Have Win 7 box turn on and off at a scheduled time

I sometimes need to run a batch job on my Win 7 Pro workstation at a fixed time. I use the scheduler to make sure the task runs then. But, I need to disable sleep beforehand, which wastes lots of ...
2
votes
0answers
40 views

Task Scheduler program writes to literal folder named %LOCALAPPDATA%

I have a .NET executable (that I created) which uses Microsoft's Active Directory Service Interfaces (via System.DirectoryServices.AccountManagement) to do LDAP queries. Internally to ADSI, it ...
0
votes
0answers
16 views

Task scheduler not executing argument

I am trying to run a program called the renamer that helps to move and rename files for my XBMC setup as a scheduled task (Win7 x64 HyperV VM on Domain). My current process is to run the program ...
0
votes
0answers
16 views

Does Indefinite Scheduled Task with daily start trigger create multiple instances?

We are currently upgrading our servers (Windows Server 2003, set up before I arrived) and are currently at the stages of working out what will stay and what will go. I came across a scheduled task ...
0
votes
1answer
34 views

Auto maintanence for Windows 8 will not stay disabled

It is imperative that I disable auto maintenance and do it manually because I need access to my PC at odd hours. I thought I had disabled it by going to Schedule Task > Task Scheduler > ...
1
vote
2answers
8k views

Why does my scheduled task fail with error (0x4)

I have a scheduled task that is supposed to run a batch file. The batch files runs file when called on it's own, but does not run when wrapped in a scheduled task. Here is what the dialog looks like: ...
1
vote
3answers
6k views

How to convert a scheduled task from Xp to Windows 7

I have a backup of some job files (i.e, scheduled tasks) from my old computer. I see that windows 7 does not support job files instead they accept xml files. So, i would like to know if there is a way ...
0
votes
3answers
48 views

Create .bat to do a task at a certain time

I'd like to create a .bat file in Windows 8.1 that does a task (specifically, close a program/kill a process) at a certain time. I usually use the command line (which, I believe, works as a .bat ...
2
votes
3answers
4k views

Windows scheduler - Tasks not running when user not logged in

I have Windows Server 2003, with schedules setup via Remote Desktop under one account. That account appears in the 'creator' column too. I have 'Run only if logged on' unticked. When I have logged ...
0
votes
0answers
16 views

Are there two seperated schedulers in major operating systems, one for processes and one for their threads?

Let's assume a process is given the CPU on a single-core CPU system by the scheduler and let's assume this process has 10 threads. Who decides which of the ten threads gets the CPU? In other words, ...
6
votes
4answers
5k views

Sync Google Drive when not logged in

I have installed Google Drive on Windows Server 2008 R2. When I login to the server, Google Drive starts automatically and synchrnoizes files, pulling changes down from the cloud. All good so far. ...
2
votes
3answers
790 views

How to start application at a particular time?

I am downloading a file from uTorrent. The file is approximately 10GB. But the problem is I want to start the application at a particular time, not the downloading. I know about the scheduler function ...
0
votes
0answers
18 views

Windows 2012 R2 - IE keeps running after daily taks completes

In Windows 2012 I have added a hidden daily task, with an action to start IE with a link to a php file as an argument. Everything is running as expected except that I end up with many instances of ...
0
votes
1answer
608 views

Creating a password-protected task in Windows 7

I would like to configure a task like "child control software", so it would hibernate the pc at certain times. Is it possible to prevent modification (here: pausing) of a task through requiring the ...
1
vote
1answer
55 views

Schedule a task with admin privileges without a user prompt in windows 7

In windows 7, I'd like to schedule a program to be run with administrative privileges, without having the user need to respond to a prompt (which requests elevated privileges) every time the scheduled ...
0
votes
0answers
55 views

Run schedule task while logged off using command line on local machine under windows7

I'm tryig to run this batch file: schtasks /create /SC once /ST 23:00 /tn "batch2" /tr "c:\windows\system32\schtasks.exe /run /TN "Acronis\backup_to_disk2" /ru "WORKGROUP\Tps02-PC$" rl/ highest ...
0
votes
0answers
13 views

MP Scheduled Scan starting very late, only during usage

In Windows 8.1, (and, I think, 8, 7, and Server going back to 2008) Windows Defender gets started daily by the MP Scheduled Scan task. It is by default set to run when the computer is not in use and ...
0
votes
1answer
58 views

Modify a scheduled task with PowerShell

How can I modify the action step in a scheduled task? We have hundreds of scheduled tasks that point to a particular path and run a PowerShell script. How can we find those tasks and then change the ...
0
votes
1answer
33 views

Shutdown/deallocate VM doesn't work in scheduled task

I created a scheduled task to shuwdown/deallocate itself (it's a VM on Azure) with Powershell. The PowerShell script is: Stop-AzureVM -Name "myvm" -ServiceName "myservice" -Force If the PowerShell ...
3
votes
1answer
10k views

Scheduled and recurring email in Outlook?

I need to send some emails at a specific time of the day and need to do it every day. How can I do it with Outlook? Delay delivery helps to send mail at a specific of time; but how to create new mail ...
0
votes
0answers
265 views

Windows 8.1 Scheduled Task on Idle Not Waiting for Specified Time

I have created a Scheduled Task to run after 30 minutes of inactivity. Apparently Windows 8 considers the system idle after four minutes of no user activity (see Task Idle Conditions (Windows)). I ...
-1
votes
1answer
42 views

Prevent a Task Scheduler to run at Windows Startup [duplicate]

To test the computer hardware, I have used Task Scheduler in Windows Server 2008 R2 to automatic reboot the computer direct after startup. I have now done many reboots to verify the hardware, and ...
4
votes
3answers
14k views

How to see scheduled task logs?

On Windows 7, is there a way to see a log of scheduled tasks?
3
votes
1answer
335 views

Powershell scripts works manually but not as a scheduled task

I have a powershell script that converts .doc to .pdf files. When I execute it manually, it works perfectly on my windows server 2012. When I execute it as a scheduled task, opens an instance of ...
0
votes
1answer
52 views

Running and stopping a task on Windows 7

I need to execute a batch file that run every minute for 1 minute. At the end of 1 minute it would execute another batch file which runs for 30 seconds. It then repeats running the first batch file ...
0
votes
1answer
30 views

schtasks in Windows how to select first day of month

I have the syntax how to define a Task for the last day of the month, but not fir the first day. Are there any Admin Gurus? schtasks /create /sc minute /mo LASTDAY /tn "Bild Copy" /tr "C:\copy.bat" ...
1
vote
2answers
1k views

Running batch file through a service

I'm trying to schedule a batch file to run through a third party application, however the output file doesn't get created in the directory. If I run the .BAT file from the command line, it works ...
5
votes
1answer
959 views

What windows 7 task scheduler event would respond to an idle END condition?

The Windows 7 task scheduler allows me to run a task when the computer goes idle, but there doesn't seem to be any obvious way to run a task when the computer resumes from idle, or is no longer idle. ...
0
votes
0answers
241 views

Windows 7 Task Scheduler Run On Idle End

I want to run a task every time I sit down at my computer, so that I will effectively run the task once when the computer ceases to be idle. I can't see a way to do this. Any suggestions?
1
vote
0answers
230 views

Idle state detection for server

Windows OS has a service that detects idle state. Details: Task Idle Conditions The computer is considered idle if all the processors and all the disks were idle for more than 90% of the past 15 ...
0
votes
0answers
17 views

Why do I get “could not start” for this task?

I am trying to use schtasks for first time on window 2008. It appears to work but when I check I get "Could not start". WHen I go to .exe in explorer and double-click - it runs. SchTasks /Create /SC ...
2
votes
2answers
175 views

Windows Scheduled Task refuse to run

I am trying to setup a daily task (running CTest from a batch script). I have used the default GUI of my Vista Pro 32bits, and setup the following task: > schtasks /query /tn "trunk nightly" /xml ...
0
votes
2answers
1k views

How do I kill an unattended scheduled task?

I have a runaway windows task, if I were running it as a logged in user I would use Process Explorer (procexpe.exe) and look for the related cmd.exe and kill it there, but this one is running with a ...
0
votes
0answers
24 views

command line needed for creating task with eventID

I want to schedule a task through cmd, the task has to run a .bat file when my WiFi connects. I have manually created a task which does this but I want to do this by command line. I tried this ...
0
votes
1answer
46 views

Scheduled task doesn't run when WiFi connects(trigger)

I've created a scheduled task which should enable my hotspot when my wifi connects to a network, only, it doesn't do what it should do. I've tried both basic task and task with: -'Event' as the ...
0
votes
1answer
123 views

Schedule a .bat file to run at a certain time/within a certain amount of minutes

How do you schedule a task to run a batch file at a certain time/within a certain amount of minutes? I'd use at 12:34 C:\example.bat but unfortunately the AT command is deprecated.. I'd like to use it ...
3
votes
2answers
3k views

Lock Screen after screensaver starts + delay

I would like to have my win7 desktop lock after say 15 minutes of idle time. I also want my screensaver to start at 5 minutes of idle time. I tried using programs that run a command after a certain ...
1
vote
2answers
6k views

How do I get a .bat file to run in Task Scheduler at PC Startup?

Alright so I have been reading through the various answers on Super User for this question and no one has seemed to actually post a way of running a .bat file in Task Scheduler at PC startup. I would ...
0
votes
2answers
136 views

Can not schedule a batch file to run at startup [duplicate]

I'm trying to schedule a batch file to run at start up. Here is my command: schtasks /create /tn test /tr c:\simple.bat /sc onstart simple.bat only writes the current time to a file: time /t > ...
0
votes
1answer
27 views

Where is windows backup settings stored in Windows 7?

I use windows [backup and restore] utility to create a scheduled backup on every Sunday 7PM. I was wondering that where I can find this setting file? If it is a scheduled task, I should be able to ...
1
vote
1answer
1k views

Windows task scheduler not running batch file on network drive

I have a batch file that I'd like to run with the Task Scheduler. Running the batch file manually works fine. If the batch file resides on the C:\ drive, task scheduler runs it fine, but if the ...