scheduler
Sends a message to an agent session on a schedule (every few hours, a cron expression, or once at a set time).
| Kind | Plugin |
| Roles | None (a service the node runs) |
| Status | beta |
| Ships with Fleetlayer | Yes |
| Licence | FSL-1.1-ALv2 (source-available) |
| Maintainer | Fleetlayer |
| Source | https://github.com/fleetlayer/fleetlayer/tree/main/plugins/scheduler |
| Install | In every Fleetlayer release |
| Command | fleetlayer-scheduler |
| Platforms | Linux, macOS |
| Works with | Fleetlayer 0.3.12 and later |
| Plugin protocol | version 1 |
| Grants | message.send |
What it does
Section titled “What it does”The recurring prompt you’d otherwise send a worker agent by hand (“check the queue every three hours”) as one entry
in a settings file. It retries a session that’s waiting on a person, never sends a burst of catch-up messages after
downtime, and reports a problem when fires stop getting through, so your monitoring hears about it.
To run it on another machine later, fleetlayer move scheduler <machine> moves it with its keys and data.
It comes with Fleetlayer, so there’s nothing else to install. To start from:
plugins: - name: scheduler command: fleetlayer-scheduler grants: [message.send] # entries go in ~/.config/fleetlayer/scheduler.yamlWhat it can read and do
Section titled “What it can read and do”Sends messages as plugin:scheduler@
More: the docs.
Fleetlayer is source-available under FSL-1.1-ALv2: use it for anything except a competing product or service, and each release becomes Apache 2.0 two years after it ships.