Introduction
Insights Product propose to manage manages all timer tasks like Platform Engine through UI and DB. This will provide flexibility to manage task schedule, change schedule, start, stop START/STOP different timer tasks from UI. This will also give option It also provides audit log of all executions and help debug issues if any. UI provides options to run multiple instances of different modules for timer task to handle work in parallel to improve performance.
Prerequisite
User should use Insights application > 8.8, This Page available product v8.8 and higher. This functionality comes under configuration section and available only for Admin user only.
In upgrade,
It is mandatory to upgrade PlatformService, PlatformEngine and UI all together to use this functionality.
once Once new artifacts are deployed then , start Tomcat and login to UI and check Schedule Task in Configuration --> Task Management --> Schedule Task Management section
start PlatformEngine
...
By Default, all tasks register when Tomcat get started, On UI user view like this . Once tomcat is up and PlatformService is deployed correctly, user should login and see below view
Get Task List
Admin user can access this from Configuration --> Task Management --> Schedule Task Management
...
Make sure that Task Name is correct, user has no option to cannot change it after save.
...
Edit Task
Select task which user want to edit
Click on edit icon
Use will be allowed to edit Schedule and class detail.
...
Delete Task
Steps
Select task which user want to delete
Click on delete icon and delete task
Once task deleted it cannot be undone
Action
This screen support basically supports three action actions
START
This use to start task, if user want to START any JOB then he will click on this START button,
...
Once job started user must see that last run and scheduled history in history tab
...
Task history detail
...
Select the task for which you want to view execution history and click on details icon as shown above. User should see below screen with execution details.
...
STOP
Now user can To stop any JOB from using online UI he will task, click on stop button, once user will stop job, JOB will stop in 20 min.
...
. It takes 20 mins to actually STOP the job in the background as deamon process runs every 20 mins.
...
RESCHEDULED
If user want to change schedule of a job, then he/she will click on edit button. Use can change class detail or schedule, once task detail will save then it will show status RESCHEDULED.Internally it will stop . Once task details are saved, status will change to RESCHEDULED. (Internally it stops old job and register new job with new schedule)
...