Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Introduction

Insights Product propose to manage all timer tasks through UI and DB. This will provide flexibility to schedule, change schedule, start, stop different timer tasks from UI. This will also give option to run multiple instances of different modules for performance.

Prerequisite

User should use Insights application > 8.8, This Page available for Admin user only.

In upgrade,

  • It is mandatory to upgrade PlatformService, PlatformEngine and UI all together to use this functionality.

  • once new artifacts deployed then start Tomcat and login to UI and check Schedule Task in Configuration --> Task Management --> Schedule Task Management section

  • start PlatformEngine

Process

By Default, all tasks register when Tomcat get started, On UI user view like this

Get Task List

Admin user can access this from Configuration --> Task Management --> Schedule Task Management

Add Task

User can add new task or can create multiple instances of existing task, Make sure that class detail present in Engine Jar

Steps

  1. Click on ADD (+) icon

  2. Add Task Name which contain alphanumeric and underscore

  3. Fill Class detail nothing but package name and class name for example com.cognizant.devops.engines.platformengine.modules.aggregator.EngineAggregatorModule

  4. Add cron expression, user build cron expression any online site.

Make sure that Task Name is correct, user has no option to change it after save

Edit Task

  1. Select task which user want to edit

  2. Click on edit icon

  3. Use will be allowed to edit Schedule and class detail.

Delete Task

Steps

  1. Select task which user want to delete

  2. Click on delete icon and delete task

  3. Once task deleted it cannot be undone

Action

This screen support basically three action

START

This use to start task, if user want to START any JOB then he will click on this START button,

By default EngineAggregatorModule, EngineCorrelatorModule, OfflineDataProcessingExecutor are in START mode.

Once job started user must see that last run and scheduled history in history tab

Task history detail

STOP

Now user can stop any JOB from using online UI he will click on stop button, once user will stop job, JOB will stop in 20 min.

RESCHEDULED

If user want to change schedule job then he/she will click on edit button change class detail or schedule, once task detail will save then it will show status RESCHEDULED.

Internally it will stop old job and register new job with new schedule

  • No labels