Files
openclaw/src/config/types.cron.ts
Advait Paliwal 115cfb4430 gateway: add cron finished-run webhook (#14535)
* 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>
2026-02-15 16:14:17 -08:00

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;
};