Documentation Home
HeatWave User Guide
Related Documentation Download this Manual
PDF (US Ltr) - 2.5Mb
PDF (A4) - 2.5Mb


2.20.1.16 kill_task

The kill_task routine terminates an active or scheduled task using its task ID.

The application-level variant for this routine is kill_app_task.

This topic contains the following sections:

Syntax
mysql> CALL mysql_tasks.kill_task(IN 'task_id' VARCHAR(36));

The task_id (VARCHAR(36)) parameter specifies the unique task ID (UUID) of the task to be terminated.

Syntax Example
mysql> CALL mysql_tasks.kill_task('17efb56b-52a1-11f0-bca4-020017205654');

This example terminates the task with the specified task ID.