proc | REGPROC | - | ✔ | Name of the function or procedure to register as a . |
schedule_interval | INTERVAL | 24 hours | ✔ | Interval between executions of this . Defaults to 24 hours |
config | JSONB | - | ✖ | -specific configuration, passed to the function when it runs |
initial_start | TIMESTAMPTZ | - | ✖ | Time the is first run. In the case of fixed schedules, this also serves as the origin on which executions are aligned. If omitted, the current time is used as origin in the case of fixed schedules. |
scheduled | BOOLEAN | true | ✖ | Set to FALSE to exclude this from scheduling. Defaults to TRUE. |
check_config | REGPROC | - | ✖ | A function that takes a single argument, the JSONB config structure. The function is expected to raise an error if the configuration is not valid, and return nothing otherwise. Can be used to validate the configuration when adding a . Only functions, not procedures, are allowed as values for check_config. |
fixed_schedule | BOOLEAN | true | ✖ | Set to FALSE if you want the next start of a to be determined as its last finish time plus the schedule interval. Set to TRUE if you want the next start of a to begin schedule_interval after the last start. Defaults to TRUE |
timezone | TEXT | - | ✖ | A valid time zone. If fixed_schedule is TRUE, subsequent executions of the are aligned on its initial start. However, daylight savings time (DST) changes may shift this alignment. Set to a valid time zone if you want to mitigate this issue. Defaults to NULL. |