How can I check the progress of a scheduler that was deleted and verify the process completed?

book

Article ID: 221224

calendar_today

Updated On:

Products

Automic Automation Intelligence

Issue/Introduction

How can I check the progress of a scheduler that was deleted and verify the process completed?

Environment

Release : 6.3.0

Component :

Resolution

When you trigger the delete there will be some logging like below in the jaws.log that shows the progress:

 


16:30:16.720 INFO DeleteScheduler delete scheduler "SchedulerName"
16:30:17.591 INFO DeleteSchedulerHelper Step 1>Updating Cross Instance Reference
16:30:19.002 INFO DeleteSchedulerHelper Step 2>Deleting JobStreamRunJobRun
16:30:19.002 INFO DeleteSchedulerHelper Deleting JobStreamRun_JobRun by jobStreamId
16:30:19.004 INFO DeleteSchedulerHelper Deleting JobStreamRun_JobRun by jobRunId
16:30:21.883 INFO DeleteSchedulerHelper Step 3>Deleting JobRunPredJobRun
16:30:21.883 INFO DeleteSchedulerHelper Deleting JobRun_PredJobRun by jobRunId
17:49:19.833 INFO DeleteSchedulerHelper Deleting JobRun_PredJobRun by predJobRunId
17:53:39.152 INFO DeleteSchedulerHelper Step 4>Deleting Alerts
17:53:39.153 INFO DeleteSchedulerHelper Deleting Alerts
17:53:39.176 INFO DeleteSchedulerHelper Step 5>Deleting Application Alerts
17:53:39.176 INFO DeleteSchedulerHelper Deleting Application Alerts
17:53:49.274 INFO DeleteSchedulerHelper Step 6>Deleting TempEvent
17:53:49.274 INFO DeleteSchedulerHelper Deleting TempEvent
17:53:49.335 INFO DeleteSchedulerHelper Step 7>Deleting DuplicateEoids
17:53:49.336 INFO DeleteSchedulerHelper Deleting DuplicateEoids
17:53:49.339 INFO DeleteSchedulerHelper Step 8>Deleting JobStreamAverage
17:53:49.339 INFO DeleteSchedulerHelper Deleting JobStreamAverage
17:53:49.350 INFO DeleteSchedulerHelper Step 9>Deleting JobStreamRun
17:53:49.350 INFO DeleteSchedulerHelper Deleting JobStreamRun
17:53:49.359 INFO DeleteSchedulerHelper Step 10>Deleting JobRun
17:53:49.359 INFO DeleteSchedulerHelper Deleting JobRun
 
There are 46 steps to the scheduler deletion process.
 
 
The last step in the logs is below which would be a good indicator of knowing when it completes.
 
2021-08-03 16:27:24,408 INFO [DeleteSchedulerHelper] Step 46>Deleting JobScheduler
2021-08-03 16:27:24,424 INFO [DeleteSchedulerHelper] Deleting JobScheduler
2021-08-03 16:27:24,604 INFO [DeleteSchedulerHelper] Deleted 1 Scheduler
 
 
You could tail the jaws.log like below to track the progress.
 
     tail -f jaws.log | grep DeleteSchedulerHelper