Questions tagged [scheduled-task]
A scheduled-task means the launch of a program or script at predefined times or after specified time intervals.
663 questions
0
votes
1
answer
142
views
Issue with module PowerShell vmware.vsphere.sso.admin and task scheduler
I'm facing a problem and can't solve it.
I'm using the module vmware.vsphere.sso.admin to manage Users and Groups SSO. It work like a charm in console, but if I set a scheduled task to run the script, ...
0
votes
1
answer
529
views
Task scheduler did not launch because user X was not logged on
My PC runs Windows 10 Pro 22H2 (ver. 19045.5608). It is joined in domain domB with user MyUser. Before joining domain B, the PC was joined in domain A (domA). User MyUser exists in both domains.
After ...
1
vote
1
answer
246
views
cloudwatch: Getting task IDs/logs associated with scheduled ECS task invocations
We have a Lambda function that catches and records container events so that we can maintain a searchable history of invocations. Still, it'd be very useful to identify the task IDs that correspond ...
-1
votes
1
answer
86
views
How can critical errors (not other types) in event viewer be deleted from powershell?
I want to delete critical error found in both application and system logs in event viewer.
I want this to be done every week, so I will be using task scheduler to perform this with a script.
I am ...
0
votes
0
answers
85
views
Powershell scripts calling other scripts across Windows Server Versions
I am finding some strange behavior between Windows Server 2016 and Windows Server 2019 when running Powershell scripts. Both servers are running the latest 5.1 Powershell version. I have a script ...
0
votes
0
answers
129
views
Scheduled task not ending before new run
I have a scheduled task on Windows Server 2019 that is a web service. I'm suspecting that there is some kind of resource leak as performance degrades after a couple of days and restart clears it up.
...
0
votes
1
answer
4k
views
Task scheduler - run whether user is logged on or not
I am trying to run task scheduler on my local pc (windows 10), I have set it up to run a exe file stored on my C drive daily, but it doesn't run when I set it to "run whether user is logged on or ...
0
votes
1
answer
551
views
My scheduled task to run MpCmdRun.exe works with one set of flags but not another (fails with 0x2 "File not found")
I have a GPO that gives my Win10 workstations two scheduled tasks.
Task one runs C:\Program Files\Windows Defender\MpCmdRun.exe -removedefinitions -dynamicsignatures
Task two runs C:\Program Files\...
1
vote
1
answer
357
views
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<username>.aws\configuration (content below)
[default]
s3 =
max_concurrent_requests = 300
...
-2
votes
1
answer
141
views
Schedule task in Windows 2012 R2 after all services are up
We have a Windows 2012 R2 with some services configured as delayed start due to having dependencies on other services, but not being shown in the corresponding tab. If such services are not configured ...
1
vote
1
answer
1k
views
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) ...
0
votes
1
answer
1k
views
Output file is empty when running powershell script from Task Scheduler
I have a powershell script, that write http response body to output.
When I run it from command line like this, it writes the response to Emails.log file
powershell "./InvokeMyApi.ps1 /api/emails/...
0
votes
0
answers
2k
views
Scheduled Task not being deployed via GPO
I have created a FailedLogon task in GPO similar to this https://woshub.com/scheduled-task-gpo/
The task gets deployed if I run it as SYSTEM. But when trying to run it under a service account ...
0
votes
1
answer
1k
views
Windows scheduler : will same process instances concurrently run across different Tasks?
I have configured Windows Scheduler to not run many instances of my application :
But i am not sure about how windows will detect many instance. I mean i have an executable that deeply change its ...
0
votes
0
answers
441
views
Google cloud VM instance schedules do nothing
I have an issue with my google cloud VMs: when I try to set a scheduled startup or stop for them via google cloud's "instance schedules" nothing happens at the specified time. I will walk ...