search cancel

Scheduleing Windows Task Scheduler items thru ESP Workload Automation & Windows agent

book

Article ID: 227899

calendar_today

Updated On:

Products

ESP Workload Automation

Issue/Introduction

We run ESP on mainframe and agent on Windows.

Can we schedule Windows 2019 Task Scheduler items with ESP and its Windows agent? 

 

Environment

Release : 12.0 & 11.4

Component : ESP WORKLOAD AUTOMATION 

Resolution

Scheduling the command (to control the item in Windows Task Scheduler) thru our agent NT_JOB can be done, however ESP only tracks the command, not the process of the item and involved steps.

So extra effort can be needed to make sure all steps complete before the return code is passed to the agent and then ESP. Like creating PowerShell script or other language to track job from script and insure it does not complete until all steps are done.

The better way is;
If you can find the detail about the item, like related script, you can also directly schedule it thru agent wobs (like NT_JOB) without engaging the Windows Task Scheduler. Note: if there are multiple steps/executables in the item, you can schedule one agent wob for every step.