Questions tagged [taskscheduler]

Task Scheduler is the common name for a set of tools and services that provide scheduled execution of executables and scripts on the Windows operating system. Use taskschedular tag in conjunction with powershell, winapi, windows-task-scheduler tags when Task Scheduler related.

The Task Scheduler helps scheduling automated tasks that perform actions at a specific time or when a certain event occurs. It maintains a library of all scheduled tasks, providing an organized view of the tasks and a convenient point of access for managing them. There can be run, disabled, modified, and deleted tasks from within the library. The Task Scheduler user interface (UI) is a Microsoft Management Console (mmc) snap-in since Windows Vista and Windows Server 2008.

Useful links

492 questions
0
votes
0 answers

Task Scheduler - Powershell elevated task

I have a script which works when it is manually executed the script works under these conditions: 1) I start start.ps1 which then elevates with admin user then executes main.ps1 script 2) the start.ps1 is being run without any rights and I am…
user5711825
  • 85
  • 1
  • 1
  • 11
0
votes
1 answer

Reading a complicated table with pandas ('task-spooler')

I have the following table, which is the output of task-spooler. Its easy for humans to parse, but I am having trouble reading it into a pandas DF. Any idea? ID State Output E-Level Times(r/u/s) Command [run=1/2] 6 …
Yuval Atzmon
  • 5,645
  • 3
  • 41
  • 74
0
votes
1 answer

Staus NOTRUN in Automatic task scheduler

I created a DB2 task to run my stored procedure automatically at a specific time, I created the task using the ADMIN_TASK_ADD procedure: CALL SYSPROC.ADMIN_TASK_ADD ( 'WR_AM_ADT_AUTO_CNRRM_SCHDLR', NULL, …
Govind Gupta
  • 1,555
  • 4
  • 15
  • 24
0
votes
2 answers

PowerShell-Script in PowerShell-Script with Task Scheduling

at the moment I try to automize an RDWeb on my Windows-Server. Therefore, I wrote a PowerShell-Script for the database-readout and a second script, which is started everytime the database returns a value. This second script is started with Start-Job…
SUT
  • 323
  • 1
  • 3
  • 14
0
votes
1 answer

Get events from yesterday

I am trying to use PowerShell to get the results from the TaskScheduler events since yesterday. This is my code: Get-WinEvent -LogName Microsoft-Windows-TaskScheduler/Operational -MaxEvents 5 | Where-Object ($_.TimeCreated -gt…
Patient 0
  • 1
  • 1
  • 3
0
votes
1 answer

Task Scheduler in Server 2016 Datacenter Edition Dont automatic Run

We are migrating some applications and we use the windos Task Scheduler as a tool. Migrate from Server 2012 Datacenter for Server 2016 Datacenter. I create the tasks in several ways, importing from task scheduler in 2012 server, manually or using…
0
votes
1 answer

Selenium doesn't display IE when run via Task Schedular

It's not a problem and actually is a nice side affect, but it is confusing me. When I run the test suite via the command line I see IE pop up and the test run. When I run it with the exact same arguments from the Task Schedular though it doesn't…
BanksySan
  • 27,362
  • 33
  • 117
  • 216
0
votes
2 answers

Run custom script in SQL Server Express

I am trying to run a script on Task Scheduler to update a column in my database every 1 hour. I have table vw_invoices and a column ExportLock with a default value of 0 which is "unlocked". I want to run a query to update ExportLock to 1. Currently…
0
votes
1 answer

Command /RU system is blocking task's creation (schtasks)

I wrote a script, which allows me to plan a task with SCHTASKS and it works, but whenever I try to execute the command with the option /RL HIGHEST, or /RU SYSTEM, the task is not even created. Don't know why, please help me ! Thank you
0
votes
0 answers

How TaskScheduler in arduino works?

I want to have timer interrupts in Arduino to do sth like this: there are some periodic tasks that will be done like sampling sensors, sending telemetry ... and some tasks will be triggered as in taking a capture and storing it in SD card... because…
alireza
  • 41
  • 2
  • 9
0
votes
2 answers

Excel VBA Power Query Task Scheduler Open

I have an excel workbook with Workbook_Open macro that opens other workbooks and refreshes connections created in power query and power pivot. This workbook is opened by Task scheduler every day at 7:30 AM. The problem is that when the task sheduler…
SasheCZ
  • 1
  • 1
0
votes
1 answer

Spring MVC after calling webservice at Rest Controller and returning xml response how can I execute other function after response sent?

Using Spring MVC I have a webservice that receives several parameters and inserts them to the Database returning to the client the id of inserted row. How can I execute other function after the id has been sent to the client? How can I schedule a…
Rocky2014
  • 21
  • 2
0
votes
2 answers

Windows Task Scheduler Powershell get URL and download file

I am struggling with automating download of a file from website that opens a new tab when download is triggered and closes it right before the prompt to Save/Open/Close comes up in the main window. The script itself works just fine when launched…
Elena
  • 1
  • 1
0
votes
0 answers

Python script running via Task Manager dies after ~30 min of logging off Windows

I have set my windows power settings such that my computer never turns off and never goes to sleep. I've setup the following python script to run as a scheduled task, which runs fine until almost 1/2 hour after I've logged off my computer. It…
Najla August
  • 81
  • 1
  • 12
0
votes
0 answers

How To Create an Action Class?? To register with "WPF" task schedule queue using MVVM pattern

I am creating a WPF application. I am implementing the MVVM pattern. I have a UI which returns the source path, destination path and a list of DateTimes which is a queue of times to execute for then next seven days. In this function I want to be…
Jeffro
  • 1