cancel
Showing results for 
Search instead for 
Did you mean: 
leades
Moderator Moderator
Moderator

Hello Community,

We have a simple method in Kx Control to schedule starts for processes. But below, is a demonstration of how to use the DS_TERMINATE_PRCL template to schedule a process shutdown. 

1. Search DS_TERMINATE_PRCL in Control

leades_0-1642693701814.png

2. First, let's create the list of processes to shut down. Duplicate the DS_TERMINATE_PRCL_NAME:DEFAULT config

leades_3-1642694797466.png

3. Name it, select the package that contains the processes then click 'Add'

leades_4-1642694917779.png

4. Go to 'Attribute Values' and add the processes

leades_5-1642695115316.png

For example, if I intended to shutdown emea_gw and emea_qr

leades_6-1642695248723.png

5. Save this config and return back to the DS_TERMINATE_PRCL search

leades_0-1642693701814.png

6. Right click the template, and select 'New Process Instance'

leades_1-1642694056344.png

7. Name it, select the relevant package then click 'Add'

leades_2-1642694582837.png

8. In 'Instance Params', select the value as the config we created earlier and save it

leades_8-1642695693475.png

9. Search for your created instance, right click and select 'New Task'

leades_9-1642695808742.png

10. Name the task, and click 'Add'. The other fields will be populated correctly (workflow isn't necessary)

leades_10-1642695929264.png

11. Enable 'Schedule Task' and fill in the details to schedule the shutdown how you desire

leades_11-1642696052509.png

 

Once this task is saved, your scheduled shutdowns will be fully set up. Feel free to provide feedback and questions below.

Many Thanks

Luke

 

1 Comment
LeahS
Moderator Moderator
Moderator

Super content Luke! 

Thanks for sharing in so much detail 🙌

Contributors