A scheduled-task means the launch of a program or script at predefined times or after specified time intervals.
Questions tagged [scheduled-task]
662 questions
0
votes
1 answer
Alternate a task Windows Task Scheduler
I'm looking for a good way to alternate a task within the Windows Task Scheduler.
One Saturday, run Task A. Then the next Saturday, run Task B. Then repeat.
Any suggestions on how to accomplish that within one single Task or the Windows Task…

Aaron
- 103
- 2
0
votes
0 answers
Best Method For Clearing User Data On Shared Windows Device?
I have had a client request that I setup a user account on a Windows device that will clear all user profile data once the account has been logged off. The computer is a shared device that will be used by guests and there cannot be any reference to…

Smithy
- 1
- 1
0
votes
0 answers
Which server specs to look for for a Scheduler in a data stack?
I'm in the process of building a data stack for a small company : the choice has been made to have a UNIX server running as a "Scheduler". The goal of this scheduler is just to extract data from different applications and send it back to a in-cloud…

Aradyan
- 1
0
votes
2 answers
How to automatically save and force update of a dynamic DNS on pfSense?
Everytime the IP address of my pfSense changes i need to manually log-in to the panel, go to Services > Dynamic DNS > Actions [Edit] > ♻ Save & Force Update
Please, how do i do this using Cron ??
I already installed Package 'Cron' and did the…

Raul Chiarella
- 216
- 1
- 4
- 17
0
votes
0 answers
Task Scheduler jobs run with expired password user account, but not with locked user account
When setting up a task in task scheduler, our practice for over a decade is that the user who sets it up puts their domain account in the "Security Options -> When running the task, use the following user account". This has worked on Windows 2008…

Ben Butzer
- 111
- 1
- 5
0
votes
1 answer
Windows scheduled task - task with cmd script runs, but .NET console app doesn't
I'm creating Windows scheduled tasks in a Docker container with Powershell. As a test, I've got a simple batch file which writes the current date/time to a text file once an hour. This works perfectly:
RUN $action = New-ScheduledTaskAction -Execute…
0
votes
0 answers
Executing a PowerShell Script With Spaces in Arguments via Task Scheduler on Windows Server 2012
I'm attempting to create a scheduled task on Windows Server 2012 that will execute a powershell script that will create an archive of a specific directory once per day.
The arguments to execute the script should be as follows (via command line):…

Daniel
- 121
- 5
0
votes
2 answers
Windows 10 Run Task On Any Domain User Login and then Delete Task
I have a scenario where I need a non-domain joined Windows 10 to reboot after it gets joined to a domain and there's a logon of a domain user - any domain user, not a specific one. I'd also need this reboot to happen only once after the initial…

davidburtton
- 41
- 1
- 4
0
votes
1 answer
Google Jobs: Quota exceeded for the number of App Engine Cron jobs
Yesterday at 8:00 am, I had a quota of 250 app-engine jobs.
At 9:00 am, I deployed a yaml file with 280 jobs, I got this error:
"error": {
"code": 429,
"message": "Quota exceeded for the number of App Engine Cron jobs.",
"status":…

Yoan
- 1
- 1
0
votes
2 answers
Create a Windows Schedule Task via GPO to run as specified user
I am trying to create a Scheduled Task via Group Policy (Computer Configuration\Preferences\Control Panel Settings\Scheduled Tasks), to run as a specified domain service account.
However, when Group Policy tries to create the task, it fails with the…

user3580480
- 229
- 1
- 3
- 13
0
votes
2 answers
Server 2019 custom PowerShell script is getting queued (Code 325)
I'm a newbie to Windows Server so I'm not sure if I'm doing something wrong, or if the server is at fault here.
I come from a Linux background and I wanted to make something similar to a cronjob. In Windows Server, this seems to be performed by the…

Alb
- 3
- 7
0
votes
1 answer
Task scheduler job not terminating after specified timeout
I have updated the "stop the task if it runs longer than" to 1 min. But the task job won't terminate after a minute. What am I missing here? And the job doesn't have any triggers configured.

Uday
- 63
- 1
- 1
- 5
0
votes
1 answer
How to use gMSA account with Task Scheduler and Powershell to manage DHCP filters
I am struggling to keep DHCP filters in sync between multiple DHCP servers, each of them is running on a domain controller. I wrote a simple script to get filters from master DHCP server and push them to other DHCP servers:
$aDhcpServers =…

wilk
- 1
- 1
0
votes
1 answer
Windows Server: scheduled backup not visible in Scheduled Tasks?
I have set Windows Server 2016 Standard to perform a local backup to a usb drive on a nightly basis at 9pm. The last several runs failed because the destination was disconnected. I've since reconnected it and want to test to make sure it will resume…

matt wilkie
- 481
- 4
- 12
- 28
0
votes
1 answer
Looking to increase font and bring message to front in a pop-up message via task scheduler
I am creating a task in task scheduler with powreshell with the argument below. I'm making a pop up message come to a logged in user at 11 AM every day for two weeks.
-WindowStyle hidden -Command "&…

lark2056
- 1
- 3