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

11
votes
2answers
573 views

How can I copy a scheduled task from a dead Windows to new Windows

My old computer died (hardware fault) and I had to reinstall everything on a new machine. All harddisks are intact and the old system disk is available as F: in my new machine. In the old system I ...
0
votes
0answers
8 views

Trigger task when second display is plugged/unplugged. (Windows 10)

I want to trigger a task (in Windows Task Scheduler) when my second display is plugged or unplugged. Is this possible, and if so, how?
3
votes
2answers
7k views

Task Scheduler from Command-Line?

I'm using Windows7 and I want to make a scheduled task with my options using Task Scheduler Command line mode utility that called "SchTasks". But there is some problems using Schtasks : 1) Is there ...
1
vote
1answer
3k 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
4answers
14k 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: ...
1
vote
0answers
18 views

Notifying a user when a file appears in a folder [duplicate]

We currently have Google Drive running on our server to transfer files back and forth with another location. We've gotten pretty big files sometimes, and it's tedious having to keep checking to see if ...
4
votes
3answers
13k 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
25 views

Search Task Scheduler Library

I've inherited a server with several hundred scheduled tasks. There's no consistent naming scheme, so finding some particular task that performs some particular action is rather tedious. Is there any ...
1
vote
2answers
13k 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 ...
0
votes
0answers
24 views

Dynamically generate email messages for Windows Task Scheduler

My business scenario is as follows: My task's first action is to run a program that creates a log file. I would like to add the content of this file (or parts of it) to the body of the email that's ...
0
votes
1answer
43 views

Automated Shutdown on Windows 8.1

I want my PC to shutdown automatically after 15 minutes of idle time, however i want the notice to have an abort button on it. And after clicking on it, the task will wait for the next time my PC will ...
3
votes
2answers
762 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 ...
3
votes
2answers
4k 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 ...
1
vote
0answers
15 views

Get a notification when a exe is not running anymore [duplicate]

I have a synchronization running in the background. I thought I'll find the answer within seconds, but somehow I am not able to do so. I would like to get a notification when that program closes or ...
1
vote
2answers
63 views

Why shutdown command does not work in Task Scheduler in Windows 7?

I've added a shutdown /h /t 120 to the Task Scheduler in Windows 7. I've set it to be run only if my administrator user is logged in and with highest privileges. But it does not work. When I fire ...
1
vote
1answer
39 views

Why doesn't OpenVPN Client start when Windows boots?

I own my own private OpenVPN server and serves to encrypt my connection, as well as giving access to private file storage on the VPS that hosts the OpenVPN server. Due to this, I want the OpenVPN ...
2
votes
1answer
78 views

Alternative to Windows Task Scheduler GUI?

OS: Windows 7 64-bit Context: Several recent Windows Updates have added many scheduled tasks about data collecting, performance reporting, blah blah, in preparation for the move to Windows 10. Many ...
3
votes
2answers
330 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 ...
0
votes
0answers
66 views

Can't open Task Scheduler in Windows 8.1

When I click Task Scheduler in Administrative Tools in my Windows 8.1, nothing happens. Task Scheduler does not launch. How to fix it? EDIT: When i try to launch Task Scheduler it seems like it's ...
1
vote
0answers
168 views

Spark standalone running job error

Have been stuck on this error for a few days, desperately need help. So with standalone deploying mode, I am trying to run sample jobs, yet no matter how simple the job is (even starting spark-shell ...
11
votes
8answers
23k views

Stop taskeng.exe window from popping up

I have several processes scheduled in my Windows 7 environment, mainly for backups, that are supposed to run in the background. However instead of just doing it's work quietly in the background, the ...
0
votes
1answer
90 views

Windows Task Scheduler Run Task at 7am everyday even after reboot

I have a program will run continuously for 12 hours from 7am to 7pm. I have enabled it to run at 7am every day and stop it by 7pm by using windows task scheduler. It works fine except that if I ...
2
votes
2answers
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
0answers
49 views

Tell Task Scheduler how to end a task

I start a program A using Windows Task Scheduler. That program starts instances of another program B. The task is started on Windows startup and runs even if no user is logged on. When I terminate ...
10
votes
5answers
24k 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 ...
0
votes
1answer
52 views

Windows 7 - displaying a message if an event occurs

I'd like to get a message when event 7026 occurs. (7026 = driver failed to load) But I can't create a working task for this purpose. Creating a task on the event (In Event Viewer right click on ...
2
votes
1answer
51 views

Can't make Windows 7 computer wake up from sleep on schedule [duplicate]

I am currently trying to automatically wake up my PC early in the morning after I put it to sleep at night. I have created a task via Windows task scheduler (enabling it to wake up the PC) but it's ...
0
votes
1answer
30 views

Windows 8.1 scheduled task “log on” option with PIN

In Windows 8.1, I have selected to log in using a PIN instead of a password. When I create a task in the task scheduler, and set the trigger to "user log on", the trigger fails every time except after ...
0
votes
0answers
226 views

schtasks.exe - Start At Login, Run Every Minute

I'm having trouble getting schtasks.exe to create a Sheduled task that will: Start at logon Repeat at minute intervals I've tried the following: schtasks /Create /SC MINUTE /MO 1 /TR ...
0
votes
1answer
36 views

Unity3D application won't start properly via Task Scheduler or Services

I've been trying to get an application made with the Unity3D game engine to start on Windows boot. Currently, I've put a shortcut in the Startup folder but this requires a user to log on to the ...
1
vote
5answers
4k 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 ...
0
votes
1answer
321 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
28 views

Gbridge with Task Scheduler

How to start Gbridge at computer start up using Task Scheduler? Tried creating a basic task with parameters copied from the desktop Gbridge shortcut and the Task Manager shows that Gbridge process is ...
0
votes
1answer
96 views

How to create a Windows task to synchronize files over Google Drive just once a week?

I'm running Windows 7 64-bit and using Google Drive to backup only the unimportant data. I want them to sync just once a week to not to waste computer and network resources all the time (checking for ...
22
votes
3answers
26k 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 ...
0
votes
1answer
49 views

Task Scheduler returns Directory Name Invalid for valid path

I'm trying to use Task Scheduler to run a Ruby script every night. When I try to run the script, I get error 0x8007010B which seems to be Directory Name Invalid. The directory I'm starting in is a ...
3
votes
1answer
9k views

How to import a scheduled task automatically from an XML file?

I have created a scheduled task in Windows 7. The task is running perfectly well on my computer. I have also exported the task to an XML file and want to create the same task on another computer ...
10
votes
1answer
11k 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", ...
2
votes
1answer
81 views

How to schedule a task to execute 9000 seconds from now on?

I have a batch script that executes a few Python scripts and then needs to schedule the last Python script to be executed 9000 seconds later. Here's what I have so far: (I only know how to manually ...
23
votes
3answers
60k views

Make Windows Task Scheduler alert me on fail

I have an automated script that pulls backups from my website to my local computer. This script could fail; once my server was down, another time I accidentally moved my script. How do I make Windows ...
2
votes
3answers
635 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 ...
6
votes
4answers
5k 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 ...
0
votes
0answers
123 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
37 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
1answer
59 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
57 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 ...
2
votes
3answers
3k views

it opens “open with” prompt whenever scheduled task run

I am trying to run a .vbs file on every five minutes. I am trying to do this using windows task scheduler. In Actions tab -> New Action, I select the file ("D:\Documents\FC3 Savegames\FC3.vbs") ...
1
vote
1answer
834 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 ...
3
votes
3answers
12k views

Using Task Scheduler to Run a Task Before Shutdown

As of writing, the only options available are to "Begin the task": On a schedule At logon At startup On idle On an event At task modification/creation On connect to user session On disconnect from ...
0
votes
0answers
116 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 ...