The jobs control answers: `jobs`, `job status <id>` and `job results <id> [from] [n]`, from a member's job node
$ sexc add @ajax/mesh-jobd-text- total 3
- drwxr-xr-x-../
- drwxr-xr-x-Oct 27 05:24v/# 1 version
- drwxr-xr-x-Oct 27 05:24files/# the files of 0.1.0
- latest
- 0.1.0, published Oct 27 05:24 by ajax
- owners
- ajax
- license
- MIT
- dependencies
- @ajax/mesh-check ^0.1.0, @ajax/mesh-strbuf ^0.1.0, @ajax/mesh-jobs-node ^0.1.0, @ajax/mesh-jobs-lid ^0.1.0
- dependents
- @ajax/mesh-jobd
- keywords
- mesh alphaos jobs control text
- homepage
- https://github.com/thomasdavis/alpha-c-mesh/tree/main/packages/mesh-jobd-text
- repository
- https://github.com/thomasdavis/alpha-c-mesh
1# @ajax/mesh-jobd-text 2 3The jobs control answers, read from this member's committed table, and on the leader also its 4leases, rates and lease choices: 5 6- `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). 12 13## Ported from 14 15[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`. 17 18## Tests 19 20`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. 22 23## Licence 24 25MIT. See the repository's LICENSE.