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

2
votes
2answers
2k 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 ...
0
votes
1answer
358 views

Instruct Windows Task Scheduler to turn on the monitor from sleep

How do I get Windows Task Scheduler to turn on the monitor from sleep in Windows Vista? Currently, all it does is wake up from sleep (without turning on the monitor, it runs a batch script).
7
votes
2answers
8k views

Creating a scheduled task in Windows that will run at intervals indefinitely

I seem to be getting slightly confused by the Task Scheduler trigger settings. (I'm on Windows Server 2008 Web) I want to create a task that will run every 5 minutes, whether a user is logged in or ...
1
vote
1answer
295 views

Best way to folder copying tasks on Windows XP

Here is my dilemma: I have a bunch of folders with dates at the end of the folder names (i.e., 2.28 for February 28). When the date in the folder name is reached, I want to copy the folder to a ...
2
votes
1answer
160 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 ...
1
vote
0answers
2k 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 ...
1
vote
0answers
298 views

Why is Windows Task Scheduler starting my tasks early?

I made a task in Windows that's supposed to run 10 minutes after the hour every hour. However, when I look at the task in the task scheduler, it will say it ran at XX:09:59 instead of XX:10:00. Here ...
0
votes
1answer
402 views

Necessary permissions for Task Scheduler in PowerShell v1.0

I'm very confused at what permissions are necessary to run scheduled tasks. If I schedule a task to run at 5am every day, what user does that run under? Does that user need log on access?
1
vote
1answer
1k views

Task Scheduler and Mapped Drive Invalid Disk Specification

I have a task in Task Scheduler to run a batch file that resides on a local hard drive. The batch file simply runs XCopy to copy files from a mapped drive to a folder on the local drive. When the ...
4
votes
1answer
4k views

Rebooting the machine via shutdown.exe triggers the Shutdown Event Tracker

I have a scheduled task that runs once a week which performs a simple reboot of the machine. The problem is that once the system is rebooted, it thinks that the last shutdown was unexpected and then ...
2
votes
1answer
1k views

Running Scheduled Task Multiple Times a Day

Is there a way to run a scheduled task multiple times a day, instead of just one defined time, without creating multiple task jobs?
1
vote
1answer
3k 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 ...
2
votes
3answers
5k 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 ...
9
votes
2answers
7k views

Windows Server 2008 R2 - How to copy a scheduled task

I would like to create a new scheduled task that is extremely similar to an existing task. It would be a pain to write down or type out all the settings. Is there a way to copy an existing task to ...
1
vote
3answers
304 views

How do I stop my laptop from waking up?

I never scheduled wake up for my laptop, but after scheduling Auslogics Defragmenter to run on Sundays, 6:01AM and laptop to wake up at 6:00AM in Task Scheduler, it was waking up. Auslogics ...
3
votes
2answers
2k 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 ...
2
votes
0answers
228 views

Running batch file from Task Scheduler in Win7 using QODBC and Quickbooks does not work

I have a batch file (.BAT) set up on a Windows 7 PC running QB Premier 2012 that uses a SQL client to connect to a Quickbooks company file through QODBC (latest version) that works fine when run ad ...
2
votes
1answer
360 views

Reliable way to run a task after specificed time without user input

For a Kiosk solution I'm looking for a completely reliable way to run a batch file on Windows 7 after a specified time without any user input (think screensaver). So far I've been looking at: ...
1
vote
1answer
672 views

Why would TaskScheduler start tasks at the wrong time?

I have a task scheduled every day at 3:00, on a Vista 64 machine. Most of the time it starts at 3:00:00, sometimes 2:59:59, which is fine. But from time to time the task is launched at a completely ...
0
votes
3answers
5k views

How can I use Task Scheduler to schedule a .jar file?

I have an executable jar file and I am trying to create a scheduled task for every day using windows Task Scheduler I go through the following steps: open Task Scheduler -> Create Basic Task -> ...
5
votes
4answers
2k 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
371 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
3k 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 ...
1
vote
0answers
2k views

Jobs not running under Torque, installing Maui didn't help

So I just installed Torque on a small cluster we're setting up, and everything seemed to have gone quite smoothly. I have pbs_mon running on the compute nodes and pbs_server running on the head node, ...
1
vote
0answers
597 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 ...
4
votes
3answers
3k 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 ...
4
votes
1answer
1k 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
16k 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
5k 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 ...
7
votes
4answers
12k 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
1answer
1k 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
2k 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
454 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
785 views

Modify Task Scheduler with PowerShell

How does one go about modifying task scheduler via powershell?
3
votes
1answer
1k 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
738 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 ...
1
vote
0answers
188 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 ...
0
votes
1answer
3k 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
699 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
4k 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 ...
15
votes
3answers
34k views

Make Windows Task Scheduler alert me on fail

I have an automated script that pulls backups from my website to my local computer. Once my server was down, another time i accidentally move my script. How do i make Windows Task Scheduler tell me ...
1
vote
1answer
444 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
801 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 ...
2
votes
3answers
10k 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
2k 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
1k 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
518 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 ...
0
votes
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 ...