* gateway: add cron finished webhook delivery * config: allow cron webhook in runtime schema * cron: require notify flag for webhook posts * ui/docs: add cron notify toggle and webhook docs * fix: harden cron webhook auth and fill notify coverage (#14535) (thanks @advaitpaliwal) --------- Co-authored-by: Tyler Yust <TYTYYUST@YAHOO.COM>
14 lines
382 B
TypeScript
14 lines
382 B
TypeScript
export type CronConfig = {
|
|
enabled?: boolean;
|
|
store?: string;
|
|
maxConcurrentRuns?: number;
|
|
webhook?: string;
|
|
webhookToken?: string;
|
|
/**
|
|
* How long to retain completed cron run sessions before automatic pruning.
|
|
* Accepts a duration string (e.g. "24h", "7d", "1h30m") or `false` to disable pruning.
|
|
* Default: "24h".
|
|
*/
|
|
sessionRetention?: string | false;
|
|
};
|