Some checks failed
CI / Rustfmt (push) Successful in 22s
CI / Cargo Audit & Deny (push) Successful in 36s
CI / Security Blocking Checks (push) Successful in 6s
CI / Web Blocking Checks (push) Successful in 53s
CI / Web Advisory Checks (push) Successful in 34s
Publish Images / Resolve Publish Metadata (push) Successful in 1s
CI / Security Advisory Checks (push) Successful in 38s
CI / Clippy (push) Successful in 2m7s
Publish Images / Publish Docker Dist Bundle (push) Failing after 19s
Publish Images / Publish web (amd64) (push) Successful in 49s
Publish Images / Publish web (arm64) (push) Successful in 3m31s
CI / Tests (push) Successful in 8m48s
Publish Images / Build Rust Bundles (amd64) (push) Successful in 12m42s
Publish Images / Build Rust Bundles (arm64) (push) Successful in 12m19s
Publish Images / Publish agent (amd64) (push) Successful in 26s
Publish Images / Publish api (amd64) (push) Successful in 38s
Publish Images / Publish notifier (amd64) (push) Successful in 42s
Publish Images / Publish executor (amd64) (push) Successful in 46s
Publish Images / Publish agent (arm64) (push) Successful in 56s
Publish Images / Publish api (arm64) (push) Successful in 1m52s
Publish Images / Publish executor (arm64) (push) Successful in 2m2s
Publish Images / Publish notifier (arm64) (push) Successful in 2m3s
Publish Images / Publish manifest attune/agent (push) Successful in 6s
Publish Images / Publish manifest attune/api (push) Successful in 11s
Publish Images / Publish manifest attune/executor (push) Successful in 10s
Publish Images / Publish manifest attune/notifier (push) Successful in 8s
Publish Images / Publish manifest attune/web (push) Successful in 8s
75 lines
1.6 KiB
YAML
75 lines
1.6 KiB
YAML
# Interval Timer Trigger
|
|
# Fires at regular intervals based on time unit and interval
|
|
|
|
ref: core.intervaltimer
|
|
label: "Interval Timer"
|
|
description: "Fires at regular intervals based on specified time unit and interval"
|
|
enabled: true
|
|
|
|
# Trigger type
|
|
type: interval
|
|
|
|
# Parameter schema - configuration for the trigger instance (StackStorm-style with inline required/secret)
|
|
parameters:
|
|
unit:
|
|
type: string
|
|
enum:
|
|
- seconds
|
|
- minutes
|
|
- hours
|
|
description: "Time unit for the interval"
|
|
default: "seconds"
|
|
required: true
|
|
interval:
|
|
type: integer
|
|
description: "Number of time units between each trigger"
|
|
default: 60
|
|
required: true
|
|
|
|
# Payload schema - data emitted when trigger fires
|
|
output:
|
|
type:
|
|
type: string
|
|
const: interval
|
|
description: "Trigger type identifier"
|
|
required: true
|
|
interval_seconds:
|
|
type: integer
|
|
description: "Total interval in seconds"
|
|
required: true
|
|
fired_at:
|
|
type: string
|
|
format: date-time
|
|
description: "Timestamp when the trigger fired"
|
|
required: true
|
|
execution_count:
|
|
type: integer
|
|
description: "Number of times this trigger has fired"
|
|
sensor_ref:
|
|
type: string
|
|
description: "Reference to the sensor that generated this event"
|
|
|
|
# Tags for categorization
|
|
tags:
|
|
- timer
|
|
- interval
|
|
- periodic
|
|
- scheduler
|
|
|
|
# Documentation
|
|
examples:
|
|
- description: "Fire every 10 seconds"
|
|
parameters:
|
|
unit: "seconds"
|
|
interval: 10
|
|
|
|
- description: "Fire every 5 minutes"
|
|
parameters:
|
|
unit: "minutes"
|
|
interval: 5
|
|
|
|
- description: "Fire every hour"
|
|
parameters:
|
|
unit: "hours"
|
|
interval: 1
|