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
2answers
6k 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
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: ...
0
votes
2answers
930 views

What Does “Local Computer Resources” Comprise in Task Scheduler?

In the Windows Task Scheduler, the interface allows me to use a specific user to run the task (General > Security options). Under the Run whether user is logged on or not option, the interface has ...
0
votes
2answers
540 views

Mirror a Dropbox repository in Sharepoint and restrict access

I'm looking for an elegant way to solve the following problem: My development team uses Dropbox for sharing documents amongst our immediate group. We'd like to put some of those documents into a ...
3
votes
1answer
580 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 ...
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 ...
1
vote
1answer
882 views

How to run an Access script using windows task scheduler

I have a VM running Windows Server 2008 R2 Enterprise and want to use the Task Scheduler to run an Access script. This script will do some stuff and then close. I've already written and tested the ...
1
vote
1answer
587 views

Where can I find schtasks.exe exit codes

Where can I find the documentation for exit/return/error codes for the schtasks.exe ? MS's documentation (http://technet.microsoft.com/en-us/library/bb490996.aspx) doesn't have any references ...
1
vote
1answer
185 views

Launching a scheduled task on a windows 7 VM on startup

I have a batch file I would like to run every time my Windows 7 VM restarts. I have created the batch file (and it functions as expected) as C:\example.bat. I have also setup a task in Task Scheduler ...
1
vote
1answer
102 views

Any way i can have a ftp script that runs for 12 hours only at specific start time?

Hi have this ini file that runs our encoder (Video) Can i make this config to run the ftp only at certain times? Or is there a script i can use to set the ftp to start at 7:15pm and force end at 7:30 ...
1
vote
1answer
373 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?
1
vote
1answer
623 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
1answer
27 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" ...
0
votes
1answer
78 views

Running Webcam with multiple applications

I am running YAWCAM on a friend's PC as he asked for us to test it, and I am running as a service, no GUI. The thing is, a webcam cannot interact with multiple softwares by default. So this might be ...
0
votes
1answer
125 views

How can I run a Task Scheduler job without being on administrator account?

I have read that the Windows account logged onto the computer that is running tasks from the Windows Task Scheduler needs to have administrator rights. I used the administrator account to create the ...
0
votes
1answer
43 views

Windows Server 2008 Sleep at night

I have a Windows Server 2008 home server, that i'm going to sleep during the night. It's BIOS does not support scheduled boot. Can i use some kind of task in the Scheduled Tasks to make it sleep at ...
0
votes
1answer
105 views

Run a script when hibernating Windows 8

I have an EXE file that I need to run immediately before I hibernate my Windows 8 PC, every time. How can I do this? I know I can use the Task Scheduler to accomplish this, but which trigger is best ...
0
votes
1answer
284 views

How to use Windows Task Scheduler interactively on Windows 7?

I've just made a new task that triggers an application from the command-line. It seems that it's working (I check in log files), however I see no icon just as it used to be if I'd run the application ...
0
votes
1answer
334 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).
0
votes
1answer
423 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 ...
2
votes
0answers
23 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 ...
2
votes
0answers
25 views

Windows Azure HPC Scheduler Architecture

So far I've found very little information on the scheduling policy, resource management policy of Azure HPC Scheduler. I would appreciate any kind of information regarding some of these questions: ...
2
votes
0answers
214 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 ...
1
vote
0answers
36 views

Is it possible to modify (or create) an scheduled task in Windows command-line to disable “Stop task if it runs longer than”?

I wanna change this option via command line using schtasks (or whatever), but the docs seems not to have an option for it: Stop task if it runs longer than only the GUI seems to allow it: I ...
1
vote
0answers
225 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 ...
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
280 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 ...
1
vote
0answers
355 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 ...
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
542 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 ...
1
vote
0answers
180 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
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, ...
0
votes
0answers
16 views

Task scheduler error

When I open task scheduler in windows 7 it gives an error saying: The selected task "{0}" no longer exists. To see the current tasks click refresh. Then another error comes like this: Task ...
0
votes
0answers
56 views

Run task at logoff and wait until it finishes

I am running a Windows Vista (no gpedit.msc unfortunately) computer and I want to run a backup at logoff. So, when the user tries to shutdown the computer, I want to run a .bat file which executes the ...
0
votes
0answers
29 views

No respect for the idle adjustments made in the Task Scheduler

Why doesn't my Windows 8.1 respect my adjustments to wait atleast for an hour before starting certain tasks? I've recently installed a fresh copy of Windows 8 (and upgraded it to the version 8.1). ...
0
votes
0answers
14 views

Opening a wep page with Task Scheduler with username/password

I'd like to use task scheduler to open a chat page for a class to capture the chats. When I don't get home in time to open the chat at the beginning, I miss questions and answers until I am logged in. ...
0
votes
0answers
10 views

MS Project 2007 - Keep Entire Task on One day

I have a series of tasks that are all less than one day in duration (2-4 hours). Each of these tasks is depednent on the one before it. These tasks need to be started and completed on the same day ...
0
votes
0answers
26 views

How to use emailrelay?

I'm trying to use "Emailrelay" to make Windows Server 2008 send emails. Googleing sugests that this would be the easiest option to send automated emails from the "Task Scheduler", but I can't seem to ...
0
votes
0answers
347 views

trying to disable windows task wake computer, get task scheduler service not available

This is a windows 8.1 pc upgraded from 8.0 I've been trying to stop my PC from waking up on it's own. Turns out there are some windows update tasks that are set to wake the pc to run the task ...
0
votes
0answers
15 views

Weird cgroups behaviour ( cpu shares )

I have a cpu hungry process A which is taking too much of cpu load(100%) which causes process B to take not enough cycles...B is related to web response...so when i did a benchmark of web response ...
0
votes
0answers
121 views

schtasks: How to set 'Stop the existing instance' from commandline?

If a task (in schtasks.exe) is already running, then the following rule should apply: "Stop the existing instance". Source: http://technet.microsoft.com/en-us/library/cc722178.aspx How can I set ...
0
votes
0answers
40 views

Task scheduler triggering logon type 2

If I set "use the following user account" to "INTERACTIVE" and the task runs while the computer is locked, will the event viewer log a logon type 2?
0
votes
0answers
52 views

Can the default column widths be changed in the Win7 task scheduler?

The first column with the name of the task is always ridiculously narrow, about 6 characters. I change it, but it doesn't stick. Any way to change that?
0
votes
0answers
449 views

Windows scheduled task interactive mode (GUI)

I am trying to run an application (Selenium test) through the task scheduler in a Windows XP virtual machine guest that allows for desktop interaction (keyboard pressing, movement through Firefox). I ...
0
votes
0answers
125 views

Label taskeng.exe console windows

At my job, we use a lot of console applications to run various processes. We kick them off from the Task Scheduler on a regular and overlapping basis - at any time there could be anywhere from 3 to ...
0
votes
0answers
170 views

Does Windows Task Scheduler behave strange?

I made my application (WinForms EXE) that when I launch it my from command-line or GUI, I see an icon in the systary and it's OK. I see now that if I wrap my application in a task into the Task ...
0
votes
0answers
240 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?