Metadata-Version: 2.4
Name: moat-link-job
Version: 0.0.1
Summary: Background job runner for MoaT-Link
Author-email: Matthias Urlichs <matthias@urlichs.de>
Project-URL: homepage, https://m-o-a-t.org
Project-URL: repository, https://github.com/M-o-a-T/moat
Keywords: MoaT
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Framework :: AsyncIO
Classifier: Framework :: Trio
Classifier: Framework :: AnyIO
Classifier: Development Status :: 4 - Beta
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Requires-Dist: anyio~=4.2
Requires-Dist: asyncactor~=0.28.0
Requires-Dist: asyncclick~=8.3
Requires-Dist: attrs
Requires-Dist: psutil
Requires-Dist: moat-util~=0.63.0
Requires-Dist: moat-link~=0.8.0
Dynamic: license-file

# 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``.

% 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
```

## License

This project is licensed under the same terms as MoaT.
