Questions tagged [scheduled-tasks]

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

Filter by
Sorted by
Tagged with
3
votes
2answers
39 views

How do I shut down a win10 box exactly like it shuts down using start menu “button,” but via task scheduler?

Preface: This box locks up when it goes to sleep (requires 5sec hard kill to power off and reboot), so the intent is to disable sleep, yet shutdown via task scheduler after set idle time. Details: ...
0
votes
0answers
7 views

Adding Hotkey to script [Windows Task Scheduler]

I have written a script (.bat) to start a file via task scheduler at a specified time, but I need to immediately assign a hotkey (Ctrl + U) so that it displays correctly. the script runs: echo off ...
1
vote
0answers
20 views

Task Scheduler don't start Task every hour (Windows 10)

I configured a powershell script to grab some reddit rss feed. So I set the task to run every hour once to grab new feed items. But I can only run/trigger it manually. It won't start at every even ...
0
votes
0answers
6 views

Jenkins Schedule build

Getting little confusing with the Jenkins build scheduling. I want to schedule a build that will run at first day of the month, every 6 months. As for now i have this H H 1 * * But I'm not sure it's ...
1
vote
1answer
50 views

Powershell script runs different under task scheduler

I have this powershell script scheduled (technically, it is run by a cmd file, but please see below). The script is (New-Object -ComObject 'Shell.Application').Windows() | ForEach-Object { $...
0
votes
0answers
12 views

“Backup & Restore (Win7)” where backup disk is not always available on schedule

I have a Win10 machine that is supposed to do a daily system image backup to an external USB disk, using the integrated "Windows 7" backup. The crux is, that the external harddisk is not ...
0
votes
0answers
20 views

Scheduled Task keeps creating dllhost processes

I have a scheduled task that runs a Powershell script that sends an http request. This task is ran under a service account. Every time the task runs, it creates a dllhost process, which eventually ...
0
votes
0answers
49 views

Windows Color System Calibration Loader (specified module could not be found 0x8007007E) - Windows Task Scheduler

Background: Windows Color System Calibration Loader is used to automatically load Windows color profiles for your display once Windows is loaded. I'm planning to disable this so I can get Nvidia ...
-2
votes
0answers
47 views

is it possible to set up a windows task that instantly closes the task shedualer?

I am actively seeking a workaround to stop taskhostw.exe My motives are: I'm a gamer and this process slows down my games ~20-40% while I play, and it's a also a matter of principle, I never ...
0
votes
1answer
7 views

Add current date to a file via task scheduler

I need to automate some CCTV stuff, since the software of the manufacturer doesn't work properly. I found this: Automate VLC schedule recording I scheduled it daily and it works fine, but it ...
0
votes
0answers
7 views

Mule 4 Cron Scheduler to schedule on every wednesday and last day of the month

Mule 4 Cron Scheduler to schedule on every wednesday and last day of the month. 0 00 06 ? * WED : this one will run the job on every wednesday 0 55 23 L * ? : This one will run on last day of every ...
0
votes
0answers
25 views

How can I schedule a device block from access to the internet on my Asus RT-AC68U router?

Yes I am aware of the Time Schedule feature under Parental Control. However, that feature cannot block one of my devices for some reason. It can for other devices on my network.
0
votes
1answer
49 views

Start program minimized from task scheduler not working

I am trying to schedule the start of outlook.exe minimized, but the task does not launch the program. I created the task with the path %windir%\system32\cmd.exe and arguments /C start "" /MIN "C:\...
0
votes
0answers
17 views

How to send a periodic reminder on Slack that includes a name picked up from a list?

I am looking for a way on Slack where I can send a message every other week with a name picked up from a list. For example, Message template is: This week on duty is: Param is picked from a circular ...
1
vote
1answer
168 views

How to have my computer go to sleep after a scheduled task ONLY if the computer was woken up by the task in the first place

Using Windows Task Scheduler I have a task I want to run at 5:30 PM Daily, but I'm not sure if I'll be on that computer at the time of the task. So, I want to allow Windows to wake my computer to ...
0
votes
0answers
7 views

Scheduling an url of zoom and perform action

I want to schedule my zoom URLs of meetings so that they open up at the time of meeting Also, an action is performed through which open zoom button is initiated. I have tried using MIT app developer ...
0
votes
1answer
58 views

Windows10 Shutdown Sound Playing Properly

I have set up a scheduled task to restore the shutdown sound Windows 10 (Pro) is missing by default. I set up that event 1074 triggers powershell.exe playing the sound with this argument: -c (New-...
0
votes
0answers
9 views

How to configured a task when a specific folder is modifiy?

I want to run a task (script python) exactly when a download any file. So my task must run when the Download folder is modify (write a file). I want to do this in Windows 10. I was searching in evnet ...
0
votes
2answers
36 views

Is it possible for a windows service to print a PDF file?

I have this function within a Python script that has been installed as a windows service with NSSM. When the Python script is run normally (i.e. not as a service), the file is printed. However, when ...
0
votes
1answer
38 views

Windows 10 defer scheduled tasks

I have observed my Windows 10 system slowing down at the post lunch hours everyday, it runs super fast until then. On close observation I figured out that there are certain tasks in the Task ...
0
votes
0answers
29 views

Windows task scheduler : tasks keep being automatically deactivated and reactivated

I just find out an issue with my current Windows 10 setup when I wanted to add a custom task to the task scheduler. Indeed, my task either did run at all, or just half the time. After activated the ...
1
vote
0answers
78 views

Force exe to run in NON ELEVATED mode from Task scheduler

I am admin user. I have 32 bit exe which I have scheduled it from task scheduler to run at every night. Though it is running in elevated mode. How do I force it to run in non elevated mode. I did try ...
0
votes
0answers
84 views

Run script triggered by Outlook 2016 Calendar notifications

I am using Outlook 2016 and have certain calendar events scheduled. I would like to automatically run a script based on those scheduled events. The calendar event dates can shift or may get canceled ...
0
votes
1answer
35 views

Is there a way to execute a shortcut on a schedule

Is there a way to execute a desktop shortcut on a scheduler? I've tried the task scheduler but when I specify the shortcut, it changes it automatically to the underlying exe file.
0
votes
0answers
19 views

Windows Task Scheduler Run Event when exe file is run

I want Windows Task Scheduler to run a task whenever a certain .exe file (specified by the path to the exe) is run. For example, if the path was C:\Windows\System32\mspaint.exe and I start up Paint by ...
0
votes
0answers
16 views

How do i clear/delete the “Created” date/time from a task in Task Scheduler?

I want to remove the Created date/time on a few tasks in task scheduler. I attempted clearing the event viewer logs to no end, I'm unsure where this information is saved. I've noticed any task ...
0
votes
0answers
36 views

How can I run switch display command before login on windows 10?

Tried Under Local Group Policy Editor(gpedit.msc): I'm on win10 x64 and I can't run this batch before login: @echo off echo Cloning display... %windir%\System32\DisplaySwitch.exe /clone I've ...
0
votes
0answers
45 views

Understanding: Windows 10 and the Task Scheduler, permission problems, changing problems

I reinstalled Windows like half a year ago on my machine and linked my main account with my Microsoft Account (so it uses my Microsoft-Avatar as the User-Avatar and so on...). I noticed few days ago,...
0
votes
0answers
18 views

Task Schedule History is Empty in Azure 2012 Windows R2 Server

Thanks for looking into my post. I have following question. My Job history in the TaskScheduler is empty in Azure Windows 2012R2 server. I tried disable and enable all the task history. Change the Job ...
0
votes
0answers
33 views

windows scheduled task is not triggered on restart if scheduled time is missed

I have a task that is triggered at a scheduled time once every week and launches an executable. The "Run task as soon as possible after a scheduled start is missed" is also checked but still, if ...
1
vote
1answer
44 views

How can I check the status of a Windows scheduled task using python?

I need to check the status of a Windows scheduled task using python, verifying it by the name of the task. I basically want to know if the task is running or not. I've searched for an answer but I ...
0
votes
0answers
41 views

nt authority/system user has no right to send Outlook Office365 emails with attachment

System: Windows 10 email: Office 2016 with Outlook 365 account Outlook programatic access: set to never warn attachment file type: self configured file type with number e.g. *.010 - marked by some ...
0
votes
1answer
28 views

Task Scheduler Behaviour

I have few questions regarding Task Scheduler behaviors. Suppose we set a task scheduler at a particular date-time, lets say on a schedule of 4/2/20 at 11:00PM: If I shut down or restarted the device ...
0
votes
0answers
45 views

How to test 'synchronise across time zones' in windows scheduler

I need to schedule a task to start at 5 past midnight every morning UTC (aka GMT or greenwich mean time). I posted this question over a year ago, the proposed answers resolved around 'synchronise ...
0
votes
1answer
55 views

Monitor mapped drive failed when screen locked

I have a python script to monitor file creation on a network drive mapped. The script runs perfectly as i tested, but problem is that when i leave my pc unattended for sometime, it does not work ...
0
votes
0answers
28 views

How to schedule task for Microsoft Account user

https://support.microsoft.com/en-us/help/2777388/you-cannot-schedule-tasks-by-using-a-microsoft-account-in-task-schedul This page suggests that creating task for MS Account user is possible using /ru ...
0
votes
0answers
11 views

Make scheduled task with multiple triggers using command prompt [duplicate]

I want to run a .bat file which adds all my tasks to the task scheduler. My task needs to have multiple triggers. I got this working so far: SCHTASKS /CREATE /TN "\TASK" /TR "C:\jodocy\Programs\...
0
votes
0answers
21 views

Getting an Amazon S3 CLI command to run via Task Scheduler

I need to run the following in command shell via task scheduler: d: aws s3 sync public s3://mybackup/public What is the correct syntax for a batch file to be executed in Task scheduler and remain ...
1
vote
1answer
150 views

Task scheduler successfully runs powershell script when user logged on is checked, but not when user logged off or on is checked

I wrote a simple ps1 file on C:\ that backs up my dhcp information. It will save that to a shared folder and then delete the oldest after it gets to 6: $date=Get-Date -Format 'MM-dd-yyyy' $file="S:\...
0
votes
1answer
24 views

Auto scheduler wont wake pc windows 10

Ok, so i have been struggling to get the task scheduler of windows 10 to wake my pc up when in sleep mode. I am using the sleep button from the start>shutdown>sleep or a button on my keyboard. I have ...
2
votes
1answer
94 views

How to predefine file/directory parameter to xcopy

I need to run xcopy command. But when I type it with all parameters: xcopy \\<server>.<domain>.com\c$\Users\<user>\Documents\New_ADuser_mustang.ps1 C:\IAM\New_ADuser_mustang.ps1 /C /...
0
votes
1answer
200 views

Windows Task Scheduler - On Idle Trigger Not Always Working

Scenario I'm using Windows Task Scheduler to accomplish the following: run program when system is idle stop program when system is no longer idle (user moves mouse etc) re-run the program when ...
0
votes
2answers
376 views

Windows 10 task scheduler won't run any exe if set to “run whether user is logged in or not”

I have some simple scripts that have been in use on a windows 7 pc for years. I've migrated them to a windows 10 pc and they don't work. I have been pouring over posts related to issues like this and ...
0
votes
2answers
114 views

Windows 10 Power Throttling Terminates Background Script

To automate simple tasks on my laptop I use an AutoHotkey script compiled as .exe, which is started automatically when I log in and always runs in the background with administrative rights. I've been ...
0
votes
1answer
205 views

Powershell Scheduled Task Restart Every Hour if Fails

I want to write a powershell script that creates a scheduled task in Windows, but if it fails, it will try again in an hour. Essentially, I want the equivalent of these boxes: How would I modify the ...
0
votes
0answers
17 views

Scheduled Task Refuses to start on Time

Hoping someone can help me with this, I'm at a loss. My organization has a task scheduled via GPO to reboot all computers currently online at 1:45 AM every day. It runs as SYSTEM user, and is set to ...
1
vote
2answers
75 views

If a script fails because computer is shut down, or the script thinks it’s working fine but isn’t, how to trigger fail alert?

I am currently using PowerShell and Task Scheduler to automate a task for the business where I currently work. This script updates a list and will ideally be run every 10 minutes. The computer that ...
1
vote
1answer
68 views

Task Scheduler runs a missed task unexpectedly on a computer that is running Windows 10

Here is my case: i have set a Task to Disable Network adapter at 8:00:00 pm and Enable Network adapter at 8:00:15. It works like charm but if the laptop is turned off and i turn it on at 8:30 then ...
0
votes
1answer
154 views

How to pass an argument of Scheduled Task properties with command line

I understand that I can create a scheduled task with command line using SCHTASKS.exe. I need to create a scheduled task that run even when windows goes in a sleep mode and I found how to do it with ...
0
votes
1answer
168 views

How do I write this powershell 2.0 command, which creates a scheduled task, to run another powershell command?

For all intents and purposes, I am a novice with PS. The command I'd like to run (it works when run manually) is: (I realize parts are probably redundant) Start-Process -WindowStyle hidden "$...

1
2 3 4 5
16