ALTER TASK

Documentation

VoltDB Home » Documentation » Using VoltDB

ALTER TASK

ALTER TASK — Modifies an existing task schedule.

Synopsis

ALTER TASK task-name [ENABLE | DISABLE]

ALTER TASK task-name ALTER ON ERROR {LOG | IGNORE | STOP}

Description

The ALTER TASK statement lets you modify an existing scheduled task. You can enable, disable, or change the error handling for the task.

Examples

The following example changes the error handling for the task cleanup to log errors and continue, then enables the task, in case it was previously disabled.

ALTER TASK cleanup ALTER ON ERROR LOG;
ALTER TASK cleanup ENABLE;