Skip to main content

Alter Cluster Schedule

Replace the definition of a cluster schedule. To change one field, use Alter Cluster Schedule Field.

Syntax​

alter cluster schedule <cluster schedule reference> <spec>

Parameters​

cluster schedule reference​

String — Name of the schedule to alter, qualified by the cluster it belongs to — for example main_cluster.stop_weekdays.

spec​

JSON — New specification for the schedule. name, expression, and clusterAction are required, and a different name renames the schedule. An omitted description or userName keeps its current value; omitted startTime, endTime, and timeZone are cleared.

Security​

Requires write permission on the cluster. If userName is given, that user must also have write permission on the cluster.