1# @ajax/mesh-jobd-text
23The jobs control answers, read from this member's committed table, and on the leader also its
4leases, rates and lease choices:
56- `jobs`: this member's role in the job table, and one line per job (state, items done, failed,
7 leased, queued, dupes, rate);
8- `job status <id>`: its line, its spec, who ran how many, its leases, the lease choice per member,
9 the cancel reason, the first 50 items failed;
10- `job results <id> [from] [n]`: the results (item, result, lease, member, bytes, payload
11 reference).
1213## Ported from
1415[alpha-rust-mesh](https://github.com/rsafier/alpha-rust-mesh) (Richard Safier, MIT):
16`crates/mesh-host/src/jobd.rs`: `jobs_text`, `job_line`, `status_text`, `results_text`.
1718## Tests
1920`tests/text.c`: a single meshd's node runs a job, and every answer's lines are checked: the header,
21job lines (running and done), status (spec, members, picks, failures), and results paged.
2223## Licence
2425MIT. See the repository's LICENSE.