sdg:Interval
sdg:Interval is the value of sdg:scheduleKind for scripts that run on a fixed cadence: every sdg:intervalSeconds seconds, the registry reruns the script and overwrites its output graph. Consumers read the result as eventually consistent, stale by at most one interval.
Interval scheduling suits pure, full-recompute scripts like the inbound-reference-counts metric: deterministic, rebuildable from the authoritative graph, cheap enough to redo wholesale. Incremental, event-driven recomputation is the hook-plus-script pattern planned for Phase 4.
Usage
- Used as the object of
sdg:scheduleKindonsdg:ScriptDefinitiondocuments; requires a companionsdg:intervalSeconds.