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

5
votes
4answers
3k views

How to run a task every time computer resumes from suspend or hibernate in Windows

Is there a way in Windows XP to run a task every time a computer resumes from suspend/hibernate? On workstation unlock would also work.
1
vote
0answers
417 views

Windows scheduled task not running

I have several SQL server backups on a server. I have created a batch file which then copies these to network drives. These are mapped to the server, and it works properly. Now, I've created a ...
0
votes
2answers
4k views

Auto-terminate a Windows application after a given amount of time

I'm looking for a way for a user to launch a Windows application that will only run for a given amount of time, say an hour. After the hour is up, an alert window will pop up, saying "Program will be ...
4
votes
0answers
961 views

Scheduled task disappeared from the Task Library the next day

We have a Win7 Pro 32-bit system where we want to schedule a daily backup to run at 1pm. The task was created yesterday morning. It ran fine that afternoon. It didn't run today. When the Task ...
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 ...
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?
-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 ...
4
votes
2answers
6k views

How to schedule a task for sleep/hibernate [duplicate]

Possible Duplicate: Is there any way to execute something when closing the laptop's lid? I have a task that I want to run right before my computer sleeps or hibernates. Is there a way ...
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 ...
2
votes
2answers
2k views

How to periodically delete files older than a certain time in Windows?

I want to make a scheduled process in Windows (specifically, Windows 7) that every 3 hours will delete all the files in all folders older than 24 hours (like the Unix find's -mtime +1). Basically the ...
2
votes
2answers
4k views

Windows Task Scheduler: Schedule task to run once every 10 seconds

In my windows, I want to schedule a windows service to start once every 10 seconds. I tried using the windows task scheduler but it only gives me an option to repeat the service daily, weekly and ...
2
votes
1answer
491 views

Scheduling an XP Weekly Task Without a Start Time

I need to schedule a backup task to run every week using the Windows XP Scheduler (Home Edition with SP 3). I would like it to run every Saturday, but how can I make it not time-specific, so it will ...
0
votes
1answer
814 views

Modify Task Scheduler with PowerShell

How does one go about modifying task scheduler via powershell?
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?
1
vote
2answers
856 views

Task scheduler with triggers for OS events/monitoring for Windows?

Is there a free or relatively cheap task scheduler system that can react to things like screen resolution changes, file modifications. etc, and spawn tasks executing my own programs? For instance, if ...
2
votes
0answers
210 views

How do I schedule a task to run when a new file is detected in a folder?

I'd like to use windows task scheduler to execute a synctoy synchronization. Basically C:\Program Files\SyncToy 2.1\SyncToyCmd.exe -R "Contacts Sync" I'd like the task only to run when a new file ...
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 ...
2
votes
2answers
829 views

Disable Dropbox when WiFi isn't available

I have an ultralight PC with Windows 7 that I use during my daily bus commute. Since the processor speed is limited, I'm looking for a way to disable/enable Dropbox when I'm not connected to a WiFi ...
3
votes
1answer
5k views

Task Scheduler: Run whether user is logged in or not: not working

I have a Task scheduled to run in Windows server 2008 (start up notepad). It seems to work fine when "Run whether user is logged in or not" is not selected. however when I select it the the task no ...
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 ...
1
vote
2answers
525 views

How to set up Task Scheduler task that cleans up firefox window it opens?

I have a Task Scheduler Windows 7 task that invokes firefox.exe on a URL which is an iMacro. Upon completion, the firefox window is left open. I always have firefox running, but it brings up a new ...
0
votes
2answers
1k views

How to test a task with the Task Scheduler on Windows 7?

Other than scheduling the time for execution to be in the near future, is there a way in the Windows 7 Task Scheduler to force a future task to execute now for the purpose of testing and observing it ...
6
votes
3answers
16k views

How do I specify “Run with highest privileges” in SchTasks?

When I use the GUI Task Scheduler, I can easily check the "Run with highest privileges" checkbox. I found no such option in the SchTasks command line too, however. Is there a way to do that from the ...
2
votes
1answer
3k views

What is the difference between /U and /RU in SchTasks?

SchTasks help describes both /U and /RU as "A value that specifies the user context under which the task runs" What is the difference, then, between /U and /RU ? What am I missing?
0
votes
2answers
2k views

Schtasks succeeds but application won't show up

I am trying to run Notepad.exe via Schtasks. I first created a scheduled task, named "secheduledNotepad". SUCCESS: The scheduled task "secheduledNotepad" has successfully been created. Then ...
6
votes
1answer
1k views

How to schedule a task with the Task Scheduler on Windows 7 that runs one minute later each day?

How to schedule a task with the Task Scheduler on Windows 7 that runs one minute later each day? That is on day one it runs at say 10:00 then the next day at 10:01, etc.
3
votes
2answers
715 views

setting an annual task on windows task scheduler

Is it possible to create a task in task scheduler that would execute only once a year?
1
vote
1answer
2k views

Windows XP SP3 Task Scheduler Error 0x80070005

When I try to add a task I get error: Error 0X80070005: Access Is Denied Windows XP Pro Service Pack 3. 1 administrator account with no password! I don't want to set password for the account ...
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 ...
22
votes
3answers
25k views

Windows 7 Task Scheduler doesn't list my custom task(s)

I created a custom task from another application (Peachtree), but it never showed up in the Active Tasks list. So, I created it manually from within the Task Scheduler, but the task still hasn't ...
1
vote
1answer
3k views

Windows Task Scheduler broken: “service is not available”

Problem I'm trying to run Windows Task Scheduler from the start menu (the command is %SystemRoot%\system32\taskschd.msc /s) but as of very recently, I'm getting an error: The window then opens as ...
0
votes
2answers
1k views

How to use scheduled task to backup mysql database

I am using mysqldump to backup mysql database. I have created a batch file that would do it for me, and I used task scheduler to do it automatically. But everytime it launches it, it always prompt for ...
1
vote
1answer
180 views

How to disable the “This program has changed, allow it network access?” prompt

I have a program set up to run via Windows Task Scheduler, but if the program is re-compiled then the execution of the program is tied up with the "This program has changed, allow it access to the ...
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 ...
1
vote
2answers
4k views

DOS Command Lines Move files to folders named with previous month

I am trying to create a task in the Task Scheduler that will automatically move some pdf files into another folder that is based on the date in the pdf files which is for the previous month. The ...
1
vote
2answers
4k views

Windows XP: schtasks without requiring password

I am trying to create a script that uses schtasks to schedule a task, without entering a password. The task is intended to simply run under the currently logged on user, who actually creates the task ...
0
votes
2answers
2k views

Windows Task Scheduler event on external hard disk drive

I would like to have the Windows Task Scheduler to run a program when I plug in my external hard disk drive. I know how to set the time and boot schedules but for event schedules I have no idea. Is ...
2
votes
3answers
7k views

What is the best way to run a Console Application once per day at a certain time?

What is the best way to run a Console application (C#) once per day at a certain time on Windows XP? I want to see the Console window.
0
votes
1answer
481 views

Win2008 - Use task scheduler to open a password protected web page every n minutes?

I already know how to use task scheduler to open a web page that does not require login (eg http://google.com). But is it possible to open a web page that requires a login and automatically enter ...
10
votes
1answer
11k views

Windows 7 Task Scheduler advanced settings unclear

I'm trying to create a task that runs once an hour. The functions in the "Edit Trigger" dialog are unclear and seem to conflict. Under settings, the finest time interval for recurrence is "daily", ...
3
votes
2answers
761 views

Missed Windows Task runs when the computer starts

hi I have a problem oposite to the usual one. I have a task to hibernate my computer at 8pm If I hibernate the computer earlier, and turn it on next morning, the task runs and hibernates the computer ...
3
votes
3answers
11k 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 ...
1
vote
1answer
343 views

What could be causing my PC's fan to intermittently whir for brief period of time?

I have a Dell XPS 400 PC running Windows 7. Every so often (45 minutes or so?), the fan will make a whirring noise. It is intense, but lasts about three seconds. I'm trying to figure out why this is ...
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 ...