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

3
votes
1answer
670 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
197 views

How to prevent scheduled tasks from running as soon as computer wakes up?

Example: I have a task that is scheduled for 6 am every day (only if I'm logged on). If my computer sleeps/hibernates all night until 9am, upon waking up the task will then run even though it missed ...
2
votes
1answer
264 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
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 ...
1
vote
1answer
148 views

Run a program before Logoff and wait for finish

When I want to run a program (.exe \ .bat) before Windows 7 Home Premium Logoff \ Restart I use the Task Scheduler and I set a custom event: Log: System, Source: Winlogon, Event ID: 7002 \ 4634 \ 4647 ...
1
vote
1answer
2k 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
813 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
227 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
115 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
422 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
787 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
47 views

Win XP task scheduler backup

In my factory, we have two non-networked windows xp machines connected to some industrial equipment. Every day, they log the information that the equipment passes on. I've been backing them manually ...
0
votes
1answer
32 views

Task Scheduler to hit num lock when I plug in keyboard

I would like to use Task Scheduler (I'm using Windows 8.1) to automatically turn on num lock when I plug a keyboard into my laptop. For some reason my laptop will default to num lock being off every ...
0
votes
1answer
10 views

Where can I see the log statements of a task in Windows 8?

I created a task in task scheduler which essentially runs a perl script. I have some print/log statements in the script. Where can I see these log statements?
0
votes
1answer
79 views

Task scheduler Windows 7(schtasks) set Principals RunLevel highest returns Access denied (Run with highest privilege)?

SCHTASKS /Create /TN "New Task" /SC HOURLY /TR blah.exe /RU myusername /RP pypassword /RL HIGHEST Returns {ERROR: Access Denied} Error also used below code in Xml but still getting the same Error ...
0
votes
1answer
82 views

Batch file in windows scheduler

set PATH=C:\Users\... call date2.cmd md %DT_MM%-%DT_DD%-%DT_YYYY% cd %DT_MM%-%DT_DD%-%DT_YYYY% So, I set my path to the folder that has PSFTP for me to run and run a file that will get the current ...
0
votes
1answer
320 views

Trigger an event on Key press in Windows

I need to trigger an event, say open music player with a particular music file, when I press a Key (other than the dedicated play/pause button). How can I do that with taskscheduler (Schtasks.exe) ? ...
0
votes
1answer
156 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" ...
2
votes
0answers
327 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
31 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
322 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 ...
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 ...
2
votes
0answers
771 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
160 views

Put a Win 7 computer to sleep AND wake it up on schedule

The computer in our bedroom puts on a light show every night around 3 when it starts to update Windows. I'd like to put the PC to sleep at a fixed time and then have it wake up on its own at a later ...
1
vote
0answers
37 views

Change focused window on set interval

On Windows 7, how to do I set it up so that the focused application automatically changes on pre-programmed intervals? I am running a frame grabber application, a web browser, and a photo slideshow. ...
1
vote
0answers
182 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 ...
1
vote
0answers
166 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
586 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 ...
1
vote
0answers
344 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
396 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
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
199 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
33 views

Automatically Wake PC at certain time without wake-on-lan

I feel like this shouldn't be too difficult. I want my PC to turn on at 7:00 AM every morning. I have a Toshiba satellite L50-B-1LN running windows 8. It uses UEFI instead of a normal BIOS. In there ...
0
votes
0answers
54 views

Task Scheduler repeat task not triggering

I am trying to set up a task that will start up an .exe every minute. I have created a Trigger, that when triggered will run the .exe and repeat every minute indefinitely. (I have also tried ...
0
votes
0answers
27 views

Can you run a scheduled task when the monitor is turned on / off?

As the title says I am wondering if there is a way to detect when the monitor is turned off at all? There are "Hardware Events" under when a specific event is lodged menu however I am not sure if this ...
0
votes
0answers
34 views

cleanup scheduler TaskCache in registry for missing task files

How to automatically remove registry subkeys in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tasks that have no corresponding file in ...
0
votes
0answers
23 views

How do I permanently disable the Event Trigger feature in Task Scheduler?

I'm sick of the freezing/disk access I get every time I create a new trigger while Task Scheduler scrapes all the log events together, and the feature is useless to me. Is there any way to disable ...
0
votes
0answers
115 views

Running Cmd as System User without psexec

Can I run cmd.exe as an interactive prompt without the psexec tool I've tried scheduling it as a task, but it only runs as a background program. (conhost) I verified that by checking the task ...
0
votes
0answers
47 views

Task Scheduler Send Mail Fails

I try to send mail as a 'send email' task of Task Scheduler. The task fails and gives the error 202. What is wrong?
0
votes
0answers
68 views

Start program from task-schedule without user logged on

I use the task scheduler to create a daily user-interface task, such as a message-box and a program that is invoked. When the task is set to be invoked only if user is logged in , the task shows up ...
0
votes
0answers
56 views

Scheduled task doesnt work Windows 8

I have this batch that makes a scheduled task calling to a powershell script and i cant make it run in windows 8. It works perfectly on windows 7 but when i use it in windows 8 it keep stuck. My ...
0
votes
0answers
56 views

Craete task to open an URL that integrated windows authentication

I need to run a daily job to open an URL which needs windows authentication so I created a task in windows task scheduler and I did set run task as my own user ABC\abc. But when I run task the login ...
0
votes
0answers
22 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
236 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
67 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
24 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
554 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
166 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
214 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
271 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?