Cron / endpointCron endpoint
A local UTC schedule that invokes a generated endpoint function.
When to use
Create this endpoint inside a Cron connector, then select it from an Input or Sink stream.
Behavior
- The scheduler calls the generated endpoint function.
- The endpoint function emits application values into the input stream.
- Missed and overlapping runs follow explicit policies.
General properties
Endpoint identity
namestringEndpoint name unique in the topology.
RequiredSchedule properties
Schedule endpoint contract
enabledbooleanStarts external endpoint admission when true. When false, the endpoint remains in the generated graph but its transport, Worker, or scheduler integration is not started.
Default:truetracingEnabledbooleanCreates tracing for each event admitted by an Input endpoint. Sink adapters ignore this flag and only propagate tracing already present in the message context.
Default:falseschedulecron expressionUTC schedule expression.
RequiredtimezoneUTCPortable runtimes currently require UTC.
Default:UTCoverlapPolicyAllow | SkipBehavior when the previous firing is still running.
Default:SkipAllowed: Allow, SkipmissedRunPolicySkip | FireOnceBehavior after a delayed firing.
Default:FireOnceAllowed: Skip, FireOnceFunction properties
Generated transport handler and code placement
functionNamesymbolGenerated endpoint handler name.
functionPackagerelative pathOptional placement below the target-language functions root. Empty uses the root directly; folder/sub-folder is resolved relative to the root selected by publicFunction and functionModule. See Code Generation / Packages and Modules for the language matrix.
empty (functions root)publicFunctionbooleanPlaces the handler in shared code.
Default:falsefunctionDescriptiontextGenerated documentation comment.
functionInitializerGroupstringDependency-injection initialization group.
functionModuleModuleShared module for the handler.
Visible when publicFunction is true.Configuration example
enabled: true
schedule: */5 * * * *
timezone: UTC
overlapPolicy: Skip