mirror of https://github.com/openclaw/openclaw.git
19 lines
598 B
TypeScript
19 lines
598 B
TypeScript
export type CronConfig = {
|
|
enabled?: boolean;
|
|
store?: string;
|
|
maxConcurrentRuns?: number;
|
|
/**
|
|
* Deprecated legacy fallback webhook URL used only for stored jobs with notify=true.
|
|
* Prefer per-job delivery.mode="webhook" with delivery.to.
|
|
*/
|
|
webhook?: string;
|
|
/** Bearer token for cron webhook POST delivery. */
|
|
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;
|
|
};
|