Skip to main content

Background job runner

% start synopsis % start main

Background job runner for MoaT-Link.

This package provides moat link job: a service that periodically runs code snippets stored in MoaT-Link, mirroring the behaviour of the legacy moat kv job.

% end synopsis

Storage

Static job records live below cfg.link.job.prefix (default job). Per-run dynamic status lives below cfg.link.job.state (default run.job). Code snippets are resolved through moat.link.code.

All-node runners keep per-node state below cfg.link.job.state, keyed by the machine's hostname (unless a specific link.client.name is configured), so that restarting a runner does not abandon its previous state subtree.

% end main

Usage

moat link job [-n NODE] [-g GROUP] info
moat link job [-n NODE] [-g GROUP] at PATH list|get|set|delete|state|path
moat link job [-n NODE] [-g GROUP] run [-n NODES]
moat link job [-n NODE] [-g GROUP] monitor

Services

Unit Runs
moat-link-job any-node runner, group default (enabled on install)
moat-link-job@GROUP any-node runner for GROUP
moat-link-job-all[@GROUP] all-nodes runner
moat-link-job-single[@GROUP] single-node runner; NAME from /etc/moat/link.env

They mirror the moat-kv-run-* units. See the cutover procedure in the documentation for switching from moat kv job.

License

This project is licensed under the same terms as MoaT.

Metadata

Release files for moat-link-job 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for moat-link-job 0.1.3
File Size Uploaded
moat_link_job-0.1.3.tar.gz 26.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for moat-link-job 0.1.3
File Interpreter ABI Platform
moat_link_job-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 52.4 kB

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.1

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page