Crates.io | sjqjobrunner |
lib.rs | sjqjobrunner |
version | 0.2.7 |
source | src |
created_at | 2022-08-17 13:23:20.024682 |
updated_at | 2022-08-19 19:13:18.732532 |
description | sjqjobrunner |
homepage | |
repository | https://github.com/shenjiangqiu/jobrunner |
max_upload_size | |
id | 647428 |
size | 18,726 |
a job runner client and server within limited cpu numbers
cargo install sjqjobrunner
sjqjobrunner [-m max_cpu_num] [-b server_addr:port]
sjqjobsender [-s server_addr:port] jobs..
sjqjobnum [-s server_addr:port]
the server addr will be :::5233, in client, it will connect to ::1:5233 by defaultsjqjobrunner -m 12
sjqjobsender "echo hello;sleep 10;echo done;" "echo job2;sleep 20;echo done;"