Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

ALTER SCHEDULE

Controls an existing schedule:

ALTER SCHEDULE purge_sessions DISABLE;
ALTER SCHEDULE purge_sessions ENABLE;
ALTER SCHEDULE purge_sessions RUN NOW;

ENABLE and DISABLE update the persisted state. Currently, RUN NOW only records a manual run in the schedule history as Claimed; it does not yet submit the action to a worker.

Schedules cannot be altered inside an explicit transaction.