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
7k 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
132 views

bat file behaves differently when run from windows scheduler

I have a .bat file S:\BACKUP_db\copytofileserver.bat, which takes some files and zip them to the network drive. Its first command is to delete the old backup at specific network path, then pack the ...
1
vote
2answers
9k 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
39 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
0answers
21 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 ...
11
votes
3answers
15k 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 ...
15
votes
3answers
32k 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
0answers
23 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 ...
0
votes
1answer
46 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) ? ...
3
votes
1answer
612 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 ...
1
vote
0answers
21 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. ...
2
votes
2answers
5k views

Why can't a Task Scheduler job access a mapped network drive?

I have a Task Scheduler job to run Robocopy for backing up local files to a network share. I have to use domain credentials to access the network share but the local computer is not on the domain, and ...
2
votes
1answer
68 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
0answers
55 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 ...
1
vote
4answers
2k views

Running powershell script through Windows Task Scheduler

I'm trying to run a simple PS1 powershell script from the Task Scheduler. The task's Actions settings are Program: powershell and Add arguments: -executionpolicy bypass -file ...
1
vote
1answer
340 views

Task scheduler - What is “Wait for idle for”?

I created a new Task in my task scheduler and I wanted it to be running only if the computer is idle for 10 min. but then I saw this checkbox which I don't understand what it does : The help says ...
0
votes
2answers
613 views

Display message box from Task Scheduler on top of all other windows

Is there a nice way to get a message box to pop up at a scheduled time on top of other windows? The default "Display a Message" action uselessly appears below everything else.
7
votes
6answers
2k views

Offline task management software [closed]

I wish to have an offline task management software that could reside in System tray from where i could manage my tasks for the day. My OS: Windows 7. should support windows vista & XP as well. ...
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 ...
0
votes
0answers
17 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
47 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 ...
3
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?
0
votes
1answer
370 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 ...
1
vote
1answer
49 views

Windows Task Scheduler

Does anyone know how to set a trigger delay of less than 30 seconds (the lowest option given in drop down menu) for Windows task scheduler? I want a delay of 5 seconds to give another task time to ...
0
votes
0answers
71 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
1answer
33 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" ...
5
votes
1answer
985 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. ...
0
votes
0answers
242 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?
1
vote
0answers
251 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 ...
0
votes
1answer
39 views

how to start a long running program at system start and stop at login and restart at logoff

I am trying to mine some crypto currency with my computer. Untill now I have done this: At system start, I have scheduled a task to start the mining software at login I have scheduled another task ...
2
votes
2answers
62 views

Windows: How to start application when the other finishes

I would like to launch an application automatically, always when some other application finishes. Is it even possible to perform? My specific situation is: User connects to remote desktop and then, ...
9
votes
2answers
9k 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", ...
7
votes
4answers
11k 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 ...
1
vote
1answer
75 views

Schedule on Windows Task Scheduler

If I want to schedule a task every 5 minutes for ever and ever, should I check: Once + "Repeat" every 5 minutes Undefinitely Daily + "Repeat" every 5 minutes During one day Undefinitely What ...
0
votes
0answers
35 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
1answer
122 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 ...
1
vote
1answer
440 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
1answer
302 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
0answers
16 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. ...
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 ...
7
votes
4answers
8k views

Windows 7 Task Scheduler Hidden setting doesn't work

I've got a daemon process that I run on my machine every hour, and even though I've checked the Hidden box, it doesn't work. Every hour, the task runs, but it shows the black command window, in which ...
1
vote
0answers
52 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 ...
2
votes
2answers
685 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
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 ...
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
2answers
41 views

Is there a way to see how much time it took for a task to finish running in Task Scheduler (Windows)?

I have a task that starts a .bat file with some operation with files on a file system and I am interested in evaluating the time it takes for a task to get the job done. I can see date/time when the ...
0
votes
1answer
114 views

Does Disk Defragmenter run if schedule is missed?

I'm reading a Microsoft book which says: Disk Defragmenter runs automatically on a schedule in Windows 7 (every Wednesday at 1 a.m.). What happens if the computer is not powered on at 1 a.m. ...
0
votes
0answers
32 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 ...
3
votes
2answers
501 views

Windows Task scheduler Winlogon events - logout not enough(?)

I created a powershell script that I want to run on every logout / restart / shut down. For trigger I set a custom event: Log: System, Source: Winlogon, Event ID: 7002. I found the above event id ...
0
votes
0answers
431 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 ...