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
1
vote
1 answer
Scheduled task to upload a file to S3 with PowerShell ignores user profile settings
I am using Windows task scheduler with a user that has an AWS profile configuration under C:\Users.aws\configuration (content below)
[default]
s3 =
max_concurrent_requests = 300
max_bandwidth = 5000MB/s
[profile BackupProfile]
s3…

user2629636
- 774
- 5
- 19
- 40
1
vote
1 answer
Practice of high frequency scheduled Ansible playbook runs
I'm fairly new to administrating servers with configuration managers such as Ansible. I plan on running playbooks automatically on a schedule (via something like Ansible Semaphore, or even just Cron) with high frequency (like every 30 minutes or…

corvus-migratorius
- 13
- 3
1
vote
0 answers
ReFS scheduled tasks?
Does ReFS do any kind of automated tasks (reindex, consistency check, something like that) and if so, what/where/when?
I have a Server 2019 system that locks up every Saturday at midnight due to ReFS-related processes taking up something like half…

DB_2022
- 31
- 3
1
vote
0 answers
Syntax for creating SCHTASK.EXE tasks to run batch files that take parameters
I have a set of older batch files that scheduled the running of some maintenance tasks for a database that I look after. They used the AT command.
The database has been moved to Windows server 2016 where the AT command has been deprecated. I want to…

Jonathan Elkins
- 133
- 1
- 5
1
vote
1 answer
Can you copy a file to share with scheduled task not logged in?
On Server 2016, I'm trying to copy a file to a synology drive. I want the scheduled task to perform this task, without me being logged in.
The network path, requires a username and password.
NET USE I believe has to be in the context of the locally…

user1627836
- 11
- 2
1
vote
1 answer
Windows 2012 Server - Task not running with same setting as others which run perfectly
I have a Task created on Windows 2012 Server, that is set to run when I login, and it does just that, when I login it starts running, and if I want to I can run it manually:
https://i.stack.imgur.com/5s5Jk.jpg
I created another task, with the same…

questionador
- 11
- 5
1
vote
0 answers
Scheduled tasks created with schtasks are interactive only. How do I create a task on a server that will always run?
I have a web app deployed with an azure pipeline. Part of the deployment is to create scheduled tasks with schtasks. The line of DOS that creates my task is as follows.
schtasks /create /sc minute /mo 10 /tn ScheduledSync /tr "curl…

bbsimonbb
- 111
- 2
1
vote
1 answer
How to delete a Scheduled task folder with PowerShell?
I need to delete a scheduled task folders on a lot of machines, ideally with PowerShell. I couldn't find anything on how to do that - it seems like the documentation covers everyting but folders.
Did I miss someting?

bjoster
- 4,805
- 5
- 25
- 33
1
vote
1 answer
scheduled task to logon to remote windows 10
I need to start some services on another Win10 machine every day which is not available as Service, and requires that someone logs on to the windows machine. The only way to do this is to login to this win machine and then locks it.
Is there any way…

Krunal
- 251
- 1
- 4
- 16
1
vote
0 answers
Task Scheduler GPO for purging files does not apply due to OneDrive
I am trying to create a task with the following PS script:
$locations="$env:userprofile\Desktop\New folder (2)","$env:userprofile\Desktop\New folder (3)"
$Daysback = "-30"
$CurrentDate = Get-Date
$DatetoDelete =…

Stefanie Gergova
- 31
- 2
1
vote
0 answers
How to close SFTP session with Azure logic app after task is finished?
We have an Azure logic app that checks every five minutes for files on an external SFTP server. Sometimes the requests fail. The external party indicated that this might be because the SFTP sessions are closed only after two hours, while additional…

amigobrewbrew
- 11
- 2
1
vote
6 answers
How do I kick off iexplore.exe to open a url from a windows 2003 scheduled task? It only seems to open the required url when I am logged in as the user it runs under
I want to startup iexplore once an hour pointed at a specific url to kick off some processing.
It's a Windows 2003 server with Internet Explorer 7 running in enhanced security configuration.
The scheduled task is set to not require the user to be…

Paul H
- 277
- 2
- 4
- 9
1
vote
1 answer
How does update management works for virtual machines in Azure?
We defined the execution's time of the update management with a runbook for 6 hours.
But I would like to know : Does update management work asynchronously (every virtual machines are getting updated at the same time)?.

Elias Arellano
- 163
- 2
1
vote
2 answers
How to configure Windows Server 2008 to start services on a backup server when the main server comes down?
I have a bunch of Windows Services and Scheduled Tasks running in one server. Since some of these services pools an external resource I leave it disabled in the backup server, to save bandwidth. How to activate it automatically when the main server…

Jader Dias
- 4,705
- 19
- 50
- 51
1
vote
0 answers
Unable to modify Scheduled Task Windows 2008 SP2
Issue:
The server is a VM on vCenter, OS is Windows 2008 SP2.
There is no performance issue.
Everything is fine except, unable to modify Scheduled Task.
We can create a new Scheduled task, but once created we cannot modify it (Like change the…

Biju Menon
- 11
- 1