Task scheduler is a component in Windows that, like the unix cron daemon, allows scripts to be run at defined times.

learn more… | top users | synonyms

23
votes
3answers
60k views

Make Windows Task Scheduler alert me on fail

I have an automated script that pulls backups from my website to my local computer. This script could fail; once my server was down, another time I accidentally moved my script. How do I make Windows ...
10
votes
5answers
23k views

How can I open a URL on a schedule in the default browser?

I'm looking for a mechanism to open a single URL in the user's current default browser on a schedule/recurring basis. I know that if I was writing .Net code to do this, I could simply do something ...
-11
votes
2answers
21k views

How can I run a web page in task scheduler every day? [duplicate]

Possible Duplicate: How can I open a URL on a schedule in the default browser? Tomorrow I will go holiday and I can't connect to internet for 5 days. In my SO account I have 64 consecutive ...
6
votes
1answer
2k views

How to make TaskScheduler fail when the task returns result different from 0

I have a backup task that fails with a non zero result, yet Task Scheduler says that it executed the task correctly. Is there any way to tell Task Scheduler that the task failed?
3
votes
3answers
12k views

Using Task Scheduler to Run a Task Before Shutdown

As of writing, the only options available are to "Begin the task": On a schedule At logon At startup On idle On an event At task modification/creation On connect to user session On disconnect from ...
6
votes
2answers
14k views

Set windows scheduler to open a webpage or the bookmark [duplicate]

I have a bookmark: C:\inetpub\services\Full Scan\full scan.url or a link: 10.237.49.250:8080/scanner/run.aspx?FULLSCAN=ON how can I schedule either of them to open in IE or Chrome?
0
votes
1answer
411 views

Powershell, Task Scheduler or loop and sleep

I have a job that needs to go off every minute or so, it loads a DLL i have written in C# that retrieves state for an SQL Server Mirror (Primary, Mirror and witness) for a number of databases; it ...
11
votes
8answers
23k views

Stop taskeng.exe window from popping up

I have several processes scheduled in my Windows 7 environment, mainly for backups, that are supposed to run in the background. However instead of just doing it's work quietly in the background, the ...
6
votes
3answers
8k views

Windows 8 waking issues - “Maintenance Configurator” task cannot be changed or disabled

I recently upgraded to Windows 8 x64 (from Windows 7 x64). I had all the wake from sleep tasks disabled in Windows 7. In the Windows 8 Task Scheduler, Task Scheduler ...
10
votes
4answers
15k views

Windows 7 Task Scheduler Hidden setting doesn't work

I've got a daemon process that I run on my machine every hour, and even though I've checked the Hidden box, it doesn't work. Every hour, the task runs, but it shows the black command window, in which ...
6
votes
4answers
5k views

Accessing Environment Variables in a Scheduled Task

When setting up a scheduled task, for the action section I'm trying to access an environment variable for the location of the executable that I wish to run. This is mainly because on one machine the ...
2
votes
0answers
3k views

Why Task Scheduler fails to open a GUI application window when /sc onstart parameter specified?

This works: schtasks /create /tn calc /tr c:\Windows\system32\calc.exe /sc minute After running this and a computer restart: schtasks /create /tn calc /tr c:\Windows\system32\calc.exe /sc onstart ...
3
votes
2answers
3k views

Does the Windows Task Scheduler have a way to run a command a set time after the user logs on?

Does the Windows Task Scheduler have a way to run a command a set time after the user logs on? I prefer it to run the first time anybody logs on, whether manually or if the computer is set to logon a ...
3
votes
1answer
2k views

Schedule powershell script with admin priviliges

I want to schedule a powershell script to run on my windows 7 system everyday with admin priviliges. How do I do so?
2
votes
3answers
3k views

it opens “open with” prompt whenever scheduled task run

I am trying to run a .vbs file on every five minutes. I am trying to do this using windows task scheduler. In Actions tab -> New Action, I select the file ("D:\Documents\FC3 Savegames\FC3.vbs") ...
2
votes
2answers
3k views

How to make a scheduled window-creating program not steal the focus?

I have written a small console program that checks that all my websites are up and running properly. I use the Microsoft Windows Task Scheduler to run this program automatically once a day. The ...
2
votes
1answer
173 views

When does the 'system start' occur if Task Scheduler with the /sc onstart parameter is used?

When does the 'system start' occur if Task Scheduler with the /sc onstart parameter is used? I.e. where would the 'system start' entry be on the following list: Windows boots up, loads the drivers ...
2
votes
1answer
4k views

How to capture Internet connection event in Windows Task Scheduler?

I'm trying to create a simple task in Windows 7 that would run some script after every connection to the Internet. My gateway restart itself sometimes and I want to run that script every time Internet ...
1
vote
1answer
4k views

Windows 7 Task Scheduler to start application in user session

When adding a new scheduled task, the application being launched will run in session 0, which means that the windows won't display. Is there any way to let Task Scheduler start the process in the user ...
1
vote
2answers
2k views

Trigger the opening of a second program when opening another

How does one go about adding a trigger to open another program when the first opens. Specifically, I would like to open PeerBlock whenever I run uTorrent, but I can see this being very useful for ...
0
votes
1answer
683 views

Neither Event Viewer nor Task Scheduler work on my PC

I have no idea why this is happening, but neither vent viewer nor task scheduler work on my PC. I have posted this as one question because I bet it is related. Thank you. Here is the error I get ...
0
votes
1answer
1k views

Windows Task Scheduler and possible permission problems

I use NirCmd (http://www.nirsoft.net/utils/nircmd.html) to enable me to run commands such as "power off the monitor", "mute system volume" from the command-line (and I highly recommend it, BTW). My OS ...