Note: In this example, we will remove the Migrate VM task (scheduledtask_id = 201)
Make a note of the scheduledtask_idfor the scheduled task that is slated to be removed.
Remove the scheduledtask_id from the following 3 tables: vpx_sched_action, vpx_sched_scheduler & vpx_scheduledtask
delete from vpx_sched_action where scheduledtask_id=<####>; delete from vpx_sched_scheduler where scheduledtask_id=<####>; delete from vpx_scheduledtask where scheduledtask_id=<####>; Example delete from vpx_sched_action where scheduledtask_id=201; delete from vpx_sched_scheduler where scheduledtask_id=201; delete from vpx_scheduledtask where scheduledtask_id=201;
Above command will result in below changes
VCDB=# select scheduledtask_id,name from vpx_scheduledtask;