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

1
vote
1answer
484 views

Disk defrag scheduled task breaks on reboot

I configured the Windows 7 disk defrag utility to run on the 1st of the month at 1:00 AM. The associated task gets created in the Task Scheduler and all is well until the next time I reboot my ...
0
votes
2answers
955 views

Is it possible to set the process name with pythonw?

I am using a piece of software written in Python and am using the Task Scheduler in WHS2011 to run it as a background process. Unfortunately it appears as "pythonw.exe" in the task list. It doesn't ...
6
votes
3answers
2k views

How to auto shutdown laptop on AC power loss

I'm using Windows 7 64-bit Home Edition on a Dell Inspiron. How do I make my laptop shut down instead of running on battery after an AC power loss? The idea is to have µTorrent run at night but not ...
1
vote
3answers
10k 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: ...
0
votes
1answer
1k views

scheduled script much more slow than running manually

I have a backup script that uses robocopy to copy files from my computer to an external USB drive. I added the script to Windows 7 Task Scheduler. It works, but it takes around 4 hours to copy ...
1
vote
1answer
408 views

Use Task Scheduler to email Security Event log file?

In XP, how can I use the Task Scheduler to cause the Security Event log file to be emailed from a machine?
0
votes
2answers
1k views

Run a batch file on exiting specific program

I want a batch file to run when I exit a specific program, Nokia Suite in my case. I want to use Windows 7 task scheduler and would prefer avoiding any 3rd party program. I have already checked ...
5
votes
1answer
1k 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. ...
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 ...
0
votes
1answer
384 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
9k 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
313 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
162 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
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 ...
1
vote
0answers
327 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
425 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
5k 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
8k 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
313 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
1answer
252 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
379 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
749 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
6k 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
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
385 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
3k 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
699 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
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?
-12
votes
2answers
18k 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 ...
8
votes
5answers
15k 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
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
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
475 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
797 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
773 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
195 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
734 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 ...
16
votes
3answers
40k 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
2answers
468 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 ...