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
0
votes
1answer
22 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
17 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
43 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
39 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
99 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
0answers
4 views

How to schedule a Job for every 1st Tuesday of the Month on Google Cloud Scheduler [migrated]

I'm trying to schedule a pre-determined function using an http response on Google Cloud Scheduler. I'm having issues scheduling the event for the proper time though. What I have currently is 30 10 ? ...
0
votes
1answer
59 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
15 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
40 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 ...
0
votes
1answer
38 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
29 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
30 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 "$...
0
votes
0answers
22 views

Event external display

Does anyone know which event and event ID is triggered when an external monitor is connected and disconnected? I can't seem to found an answer online. What I would like to use it for is when the ...
2
votes
1answer
49 views

Recurring Message Box VbScript

I have a vbs file whose content is : MsgBox "some thing here",vbOkOnly,"some other thing" I have set it to run periodically using Windows Scheduler. It indeed is running periodically (which i ...
0
votes
0answers
139 views

PC keeps waking up - ACPI wake alarms refuse to be disabled

Good morning. Every night my Windows 10 PC wakes up, and thus wakes me up, at least once. Event Viewer shows the Wake Source as "Device - ACPI Wake Alarm". This despite my best efforts to disable ...
0
votes
0answers
31 views

Deleting a scheduled task which has been created through the GPO

i've got a question about the Group-Policy. In the company I'm currently working, we have the following problem I created a GP-Object, which starts a scheduled task (copying a folder etc.) after ...
0
votes
0answers
16 views

Unlock windows session on schedule with a non-admin account

the scenario is as follows: I have a non-admin active directory account in my job that I lock when I go home. I need to figure out a way to create a script that can be scheduled to execute once a ...
0
votes
0answers
11 views

Windows 10 sometimes fails to automatically log in to a SMB server when backing up system via a script running FreeFileSync

I have a script that runs a backup daily, utilizing FreeFileSync. FFS uses a SMB server to mirror its files to. More often than not the script (to run FFS) prompts a windows dialog to pop-up asking ...
0
votes
3answers
124 views

Scheduled task execute at wrong times on Windows 10

On Windows 10 I created a scheduled task to make a snapshot of C:\ each hour from 8:00 AM to 5:00 PM. Works fine as long as the computer is running or stopped (not sleeping). Problem : if the ...
1
vote
2answers
92 views

Schedule a job with at command

Hello I have written a script and I want to schedule it to run at a certain time with the at command. I also want to use an argument in order to pass the time I want in the script so it can be ...
0
votes
0answers
38 views

I can't import task from Windows 10 LTSB to Windows 10 LTSC

I have two XML developed in Windows 7, both works fine. The same tasks developed on Windows 7 work on Windows 10 Enterprise 2016 LTSB 10.0 (14393). The unique modification developed between Windows 7 ...
0
votes
0answers
19 views

How to make this .bat script run on background? [duplicate]

I have this script that sets wallpaper every 10 minutes: SCHTASKS /Create /SC MINUTE /MO 10 /TN MyTaskName /TR "D:/ChangeWallpaper.bat" the ChangeWallpaper.java: reg add "HKEY_CURRENT_USER\Control ...
0
votes
0answers
35 views

Task Scheduler: Task started at Sleep event completes after wake

I have scheduled a task to run at event id 42 of Kernel Power source. The log shows that the task started as expected on the event but could not complete as the computer entered sleep mode(event id 42)...
0
votes
0answers
24 views

Run Task Schedule with Least Privileged User

I need to run the EAServer application (exe/ bat file) from Task Schedule BUT with the local user who has least the privilege permissions. Your kind support would be highly appreciated. Thanks Malik ...
0
votes
0answers
29 views

windows task scheduler: if the task is already running - not working as expected?

I have my.bat @echo off ffmpeg -i 1.mp4 -y -c:v libx264 -c:a libmp3lame out.mp4 %* pause I created task to run it every hour. In the 'Settings' tab I pointed if the task is already running, the ...
0
votes
1answer
59 views

Windows 10 doesn't wake up by task after sleep task (via Task Scheduler)

I have created 2 tasks for sleep and wake following this guide: https://www.groovypost.com/howto/schedule-wake-sleep-windows-automatically/ If I run the sleep task independently PC goes to sleep and ...
0
votes
0answers
31 views

Powershell DSC ScheduledTask: Run as group

In the Windows 10 Task Scheduler UI one can configure a task to run using a specific user account or a group (like BUILTIN\Users). Is there any way to specify the group BUILTIN\Users or BUILTIN\...
1
vote
0answers
51 views

Automate downloading a file from a browers every 30mins

I want to setup a automated task (marco) where every 30 mins ( between 9-5pm mon- friday), download a .csv report. The task I want done is to login to a website and make 2-3 sections to download ...
1
vote
1answer
31 views

XMLTV GUI or Console EPG downloader fails only when run from Windows 10 Scheduled Tasks

I'm using the XMLTV GUI grabber to fetch TV program schedule guide (EPG) information from Schedules Direct (North America) for my PVR software under Windows 10. I have no problems at all doing this ...
0
votes
0answers
31 views

Task Scheduler requires account when enabling Run whether user is logged on or not

So basically when I try to make new task in my Task Scheduler in windows 10 home, and then enabling Run whether user is logged on or not it requires an account, Then I can see a list of some accounts,...
0
votes
1answer
46 views

Windows 10 update repeating daily

Sounds like a noob question but is a serious problem. Due to updates for I guess Windows Defender my local machine wants to update daily. It is even interrupting processes and shuting down the system ...
0
votes
1answer
75 views

Run a scheduled task if memory usage goes above 90%

Is it possible on Windows to use task scheduler or other methods to run a script if the memory usage on the device goes above a certain level?
0
votes
0answers
24 views

log off using task manager and .bat file on Windows 7 Pro

I have Windows 7 Professional. I was moved here from Stackoverflow. I wrote a file called spegnimento.bat with the following content: case 1: shutdown /f case 2: shutdown -f case 3: shutdown /s ...
0
votes
0answers
31 views

Batch File to Run Everyday of the Month Based On Month

I have a batch file that has specific scripts that run during certain months. I.E. January has its own script, March has its own, and so on. I can get the batch script to run based on the month, but I ...
0
votes
1answer
93 views

Taskkill with windowtitle filter from scheduled task

Consider the following batch file: taskkill /IM calc.exe /FI "WINDOWTITLE eq Rechner" > C:\test.txt 2>&1 When I start a calculator (it has the window title Rechner in German) and run this ...
0
votes
0answers
203 views

Windows Task Scheduler task doesn't run

I have a frustrating problem. I'm trying to run a vbscript every hour on the hour with Windows Task Scheduler. Windows 10 Pro, not on a domain, logged on locally as a Windows user, not Microsoft ...
0
votes
1answer
41 views

Every method to set up automatic program start at login/startup?

I got a third-party program for which I turned off both scheduled tasks and services but the program still turns on at startup. OS: Windows 10. What other settings am I missing? I believe it is a ...
0
votes
0answers
74 views

Task set in Task Scheduler won’t run when triggered on Windows 10

I tried to set up a task as simple as running a cmd.exe on system startup with elevated privileges. If I right click the task and select Run, it works just fine. But no triggers are ever fired. I ...
1
vote
1answer
36 views

How to schedule auto hibernation and wake up

I leave my laptop running 24/7 because it does some tasks in the background 24/7. However, I want to turn shutdown my laptop for 2 hours every day. Unfortunately my bios does not support scheduled ...
0
votes
2answers
68 views

How can I enable sleep when idle, but only outside of work hours?

I want my laptop to sleep after an hour of being idle (and plugged in), but ONLY outside of work hours (eg: 8am-5pm Mon-Fri). I'm not trying to disable sleep entirely during work hours, it just has to ...
0
votes
1answer
86 views

What could be causing a delay in scheduled task execution?

I have a number of scheduled tasks that run daily. According to their schedule times, they should run as soon as Windows boots first thing in the morning. However, the tasks don't run until 10 minutes ...
2
votes
1answer
43 views

Scheduled Task history empty despite Task getting started and ending normally?

I've a windows 2016 Server where I have a multitude of Scheduled Tasks running on it. For a handful of the tasks I suddenly have the problem that the History tab is ALWAYS empty (despite having all ...
0
votes
1answer
582 views

Create a scheduled task to trigger on a log event with a specific event ID

I have a manual routine (involving the Scheduled Task GUI) for creating a scheduled task that triggers on a given set of events from the event log. I would like to automate that process using ...
0
votes
1answer
214 views

Tasks on Scheduler won't start with files on OneDrive/Sharepoint (Powershell)

I have a powershell script that opens an Excel file every day in the morning, runs a macro and closes. This was working fine until recently that we moved our legacy network drives to Sharepoint Online....
0
votes
1answer
26 views

Can't Delete a Scheduled Task Folder With Quotes in the Name

I'm messing around with some scripted task scheduler automation for a project. However, I made the mistake of creating a new Task Scheduler folder with quotes around it. However, when I follow the ...
0
votes
0answers
10 views

Limit Duplicity uploads to run only at out of office hours

I have a backup server that runs script made out of 2 parts: rync to copy from NAS onto local (for local backup) & duplicity to copy from local encrypted onto nextcloud server. script goes as: #...
0
votes
0answers
31 views

Windows Task Scheduler do not open a program that is already open

I have a task that opens a program at log on after a few minutes but I can not find a way to stop the task from activating in case the program is already open. Also, is it possible I can put an ...
0
votes
0answers
13 views

VBscripts started under Task Scheduler never exit

I have a number of scheduled tasks that launch bat files which intern runs sever vbscripts in sequence. Most of the time they work, but intermittently the vbscripts hang at completion and never exit. ...
0
votes
2answers
24 views

How to create a scheduled task that blocks access to the Internet but not to the local network?

I need your help. I should to create a scheduled task that blocks access to the Internet but I must have access to the local network. Also this task should work on weekdays from 8:00am to 5:00pm.
0
votes
0answers
168 views

Airflow stops scheduling Tasks at some point

Problem We use Apache Airflow (v.1.10.3) for scheduling our external data provider jobs. So far the system ran smoothly with few exceptions, and those were usually caused by us (full disk, too few ...

1 2 3 4 5 16