A scheduled task is a job scheduled to run at a specific time and frequency and run a specific command on the operational system.

learn more… | top users | synonyms (1)

0
votes
2answers
565 views

Make PC wake up using task scheduler in Win 10 from sleep

In Win 10 Pro, I have used task scheduler to make my PC go to sleep (not hibernate) at night, which works fine. But I am trying to get my PC to wake itself up in the morning, but no luck here. I have ...
2
votes
2answers
48 views

7zip - Use Windows Task Scheduler to zip a file that has timestamp of previous day

I have a web server that generates log files everyday, the log of the day will be automatically saved as Log.YYYY-MM-DD.txt (i.e. Log.2016-07-20.txt). Now I need to use Windows Task Scheduler to zip ...
-2
votes
0answers
37 views

Excel - Auto Populate Break Schedule based on Weekly Schedule [on hold]

Ive been racking my brain trying to figure this out, ive searched and searched and I guess I just dont know enough about excel to be able to do this. I have 8 sheets to work with, The first one is ...
0
votes
2answers
26 views

How to make a desktop shortcut to Windows Task Scheduler?

I have many tasks that I am tinkering with in Windows Task Scheduler. I would like to add a desktop shortcut that I can click to open the Scheduler. theSoftwareJedi's answer here shows the following ...
0
votes
0answers
3 views

Python Script - Task Scheduler 0x103 using Selenium WebDriver on Azure machine [migrated]

I have a task setup using Task Scheduler on an Azure VM. Whenever I run the task directly it will run fine but when the machine turns on overnight and runs the task it will almost always give me a ...
2
votes
2answers
15k 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 ...
3
votes
3answers
5k views

Scheduled task with custom weekly schedule does not run

I have set up a new task in Task Scheduler (on Windows 8) to run a batch file and set the task to run each week day at 7:40 AM. The task never runs (automatically). Next Run Time shows the correct ...
2
votes
1answer
15k views

Run task scheduler task on demand from limited user account in windows 7

My goal is to for a limited used to be able to run a netsh script that requires administrative privileges: netsh wlan stop hostednetwork netsh wlan start hostednetwork From my administrative ...
8
votes
3answers
73k views

Where have the Scheduled Tasks gone to in Windows 7?

I cannot find Scheduled Tasks under control panel. Where did they move it?
-1
votes
0answers
14 views

Error scheduling job in Windows 2012 that ftp's files

I have a job that runs fine when I run it manually. It basically creates text files and ftp's them to the remote server. But when I schedule the job in Win Task Scheduler it creates the text file but ...
5
votes
4answers
31k views

Automatically close program at a scheduled time each day

Is there a way to automagically determine if a program is running and close it at scheduled time, say 3 am every day? Maybe use task scheduler to close said application? if this is possible any ...
0
votes
3answers
4k views

Setting a scheduled task in Windows 10

I'm trying to set up wallpaper for my Windows 10 laptop. Basically, what should happen is the wallpaper should change to another (specific) image exactly on the hour. To do this, I downloaded this ...
1
vote
1answer
4k 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 ...
0
votes
4answers
2k views

Windows .bat fails when running from Scheduled tasks; runs fine when running from command line

I am trying to start a virtual machine via a batch file. The .bat file runs fine when I run it from the Windows command line. But when I run it from scheduled tasks, it exits with error code 1. I ...
3
votes
1answer
4k views

Creating Task With a Batch File - run task as soon as possible if missed

When creating a task with a batch file or command line, how do I specify the following option? Run task as soon as possible after a scheduled start is missed I know that this option exists via the ...
0
votes
0answers
26 views

How to run very long ansible tasks?

I have following ansible role tasks: "Task 1", "Task 2", "Task 2.1", "Task 2.2", "Task 3" I need run them, but all these tasks need a lot of time to complete (from 1 hour to 12 hours) and they must ...
0
votes
0answers
17 views

Windows 8.1 Task Scheduler library won't load

I disabled regular Windows 8.1 maintenance task some time ago because it never completes the task and just slows down everything. My laptop has been lagging lately. Just earlier I noticed that Windows ...
0
votes
2answers
2k views

How do I kill an unattended scheduled task?

I have a runaway windows task, if I were running it as a logged in user I would use Process Explorer (procexpe.exe) and look for the related cmd.exe and kill it there, but this one is running with a ...
0
votes
0answers
66 views

SchTasks Windows 10 access denied

I wanted to create a task using SchTasks to run my batch file everyday 11pm this batch file starts a programm and runs a vbs script after the programm started. I created following Task: SchTasks /...
0
votes
1answer
33 views

Run a scheduled task when a disk volume is attached

I have this Windows 10 virtual environment where frequently I need to attach raw disk volumes to the virtual machine, then I need to run diskpart on it to initialize it. I think I need Window Task ...
1
vote
1answer
81 views

Controlling Windows 10 update time

I am connected to an Internet connection that is free of charge from 1 o'clock to 7 in the morning and want to schedule this in windows 10. it means I want to set task scheduler to set my WiFi metered ...
1
vote
0answers
19 views

Schedule task when USB device (Keyboard) is unplugged and plugged in

So I would like to schedule a task to run a specific command when a certain hardware (usb) device is unplugged, then another command when it is plugged in. The commands: #Unplug nircmd monitor off #...
0
votes
1answer
63 views

Display Popup from script executed as System user

I've a scheduled task, executed by System user. It's can sometimes display a popup to interacts with the user. This work fine if I launch the script myself, but not displaying when launched by the ...
0
votes
1answer
24 views

How to launch/close a program when launching/closing another program using the Windows Task Scheduler?

I have a Steam game which I launch in multiple ways such as: Clicking the play button on the Steam Library page Playing the game in Steam Big Picture Mode Manually launching the .exe Other batch ...
0
votes
0answers
17 views

schtasks.exe using XML won't check the Wake to run task option

I'm trying to push out a simple reboot script via SCCM to a collection of nearly 100 computers. I have the SCCM package set to run a simple batch file, which creates a scheduled task using a XML file ...
0
votes
2answers
77 views

executing script manually works, but not in task scheduler

I have troubles with the task scheduler in windows 7 Pro. I want to run a script. Manual execution works perfectely, the task manager does nothing. Part of the script is setting the focus onto a ...
1
vote
0answers
22 views

script with print screen and task scheduler problems

On a production system a script opens screens and sends them to hypersnapDX. Hypersnap then saves a picture in a folder which then is copied onto a server. This script is done by a cmd script. The ...
2
votes
3answers
2k views

FTP batch file works from command line, but not scheduled task

I want a Windows scheduled task to execute an FTP batch file which will upload some files to my server. If I run the argument below from the command line then it executes successfully. ftp -i -s:C:\&...
0
votes
0answers
25 views

Want to automate the following sequence of Tasks in Windows7

I want to automate the following sequence of Tasks in Windows7: 4AM: Wake my computer from sleep and make VLC record a stream for 1 hour. 5AM: put my computer back to sleep. 5:30AM: Again, wake my ...
0
votes
1answer
33 views

How can I prevent multiple different task from task scheduler in Windows

Suppose I have multiple different task with different time based trigger, but I want to run only one task among them which trigger is same in specific scenario. For example I have 10 different tasks. ...
0
votes
0answers
20 views

Alert When Windows Task Scheduler Fails to Run [duplicate]

We have a script that is a security script, checking logs. Almost always it can be ignored and, for the most part, is; it sends out an email when it sees an issue in some logs of a particular type, ...
2
votes
0answers
346 views

NGEN is eating up all my disk space

For a couple months now I've woken up every couple days to find my C:\ drive out of space. After some digging I found my C:\Windows\Temp folder was full of 3MB log files -- ~40GB worth, numbering in ...
1
vote
1answer
451 views

Task doesn't complete if it is run by System (so it's hidden) [closed]

I'm making an application using Python to parse a webpage. For reference, this is the program's code: import csv from selenium import webdriver from selenium.webdriver.common.keys import Keys import ...
6
votes
6answers
8k views

Linux/Bash, how to schedule commands in a FIFO queue?

I want the ability to schedule commands to be run in a FIFO queue. I DON'T want them to be run at a specified time in the future as would be the case with the "at" command. I want them to start ...
1
vote
1answer
30 views

scheduled task to open a PNG file

There is this picture, that I want to be shown every morning. I created a scheduled task, and in actions, I simply added a new action, that starts a program, and for the path of the program, I simply ...
0
votes
0answers
34 views

Start NPM and Node.js on machine startup using Windows Task Scheduler

I want to host my Node.js application in LAN (for testers). What I'm trying to is setting up the Windows task in Task Scheduler. My task needs to run npm start and node server.js commands to work as ...
0
votes
0answers
53 views

How do I create a scheduled task that will run as the logged in user

I am trying to write a scheduled task that will run in the context of the currently logged in user. It appears there was an option to run the task as a group in Windows 7 (see What "user" ...
0
votes
0answers
40 views

(Windows 10 Pro) Set task scheduler to gracefully shutdown when switching to battery

Long story short, we have a requirement tossed on us to make a Surface 3 shut down upon commercial power loss. I have went through Microsoft support, and we tried several things to attempt to disable ...
3
votes
1answer
1k views

Scheduling a task before sleep in Windows 7 and hold off the sleep event until task runs

Note that this is different than the other questions I found (I did search), like: Is there any way to execute something when closing the laptop's lid? I used the same trick of scheduling a task ...
20
votes
6answers
84k views

How to monitor a folder and trigger a command-line action when a file is created or edited?

I need to set up some sort of a script on my Vista machine, so that whenever a file is added to a particular folder, it automatically triggers a background process that operates on the file. (The ...
4
votes
1answer
16k views

Schedule a task with admin privileges without a user prompt in windows 7

In windows 7, I'd like to schedule a program to be run with administrative privileges, without having the user need to respond to a prompt (which requests elevated privileges) every time the scheduled ...
0
votes
1answer
57 views

I want to schedule a batch file to execute a command and redirect that output a text file

I want to schedule a batch file to execute a command and redirect that output a text file. This is my current solution: Del \\10.112.232.10\Netbackup_Softwares\Personal\Bharath\VM_Query\switch.txt D:...
0
votes
1answer
32 views

SCHTASKS with OnEvent > Trigger has a duplicate source entry

I create a schedule tasks using the following command SCHTASKS /Create /TN EventLog /SC ONEVENT /EC System /MO "*[System[Provider[@Name='WindowsUpdateClient'] and EventID=21]]" /TR "C:\Windows\...
1
vote
0answers
27 views

Set Windows Server idle task

I want to execute a batch file when the computer has been idle (no keyboard or mouse inputs) for one minute using Task Scheduler on Windows Server 2012. I've had a go but the task doesn't seem to ever ...
1
vote
1answer
281 views

schtasks with multiple actions

I am trying to create a schedule task using command line which has multiple actions running more than one batch files in sequence among other things SCHTASKS /Create /TN TaskName /SC ONLOGON /TR C:\...
0
votes
1answer
28 views

How to schedule two commands to run at certain times daily on Windows?

I'm on Windows Server 2012 and I need to restart a service at a certain point in time every day. I'm doing this using two commands, net stop and net start. This is what I have tried so far: SchTasks /...
0
votes
0answers
36 views

Linux RT vs 'niceness' priority and preemption

I wanted some clarification on the differences between real-time linux process priority (-99 - -1) and normal user-level 'niceness' (0 - 40) priority, and the effects on scheduling and pre-emption. ...
1
vote
1answer
43 views

Different result from command line prog when run by Task Scheduler

I call the following program from within another command line prog... :: NT_getdate.cmd return yumd-date in var='ymd' @echo on setlocal for /F "tokens=2,3,4 delims=/ " %%g in ('echo.^|date /t') do ...
2
votes
1answer
165 views

Is there any way to regularly reboot a hung Windows PC

We have a PC (Dell Optiplex 760, WinXP SP3) that hangs periodically, like really hangs - everything frozen, can't reboot from keyboard, only way out is hold the power button down to turn it off and ...
1
vote
0answers
29 views

Scheduled and recurring email in Outlook? Open Dialog Box error

I have done these instructions Scheduled and recurring email in Outlook? Now when I try to import a calendar for example in Outlook 2016 I get an error that says "a dialog box is open. close it ...