diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -609,6 +609,12 @@ Here is the list of supported requests, using `type(arguments)` notation. An object whose keys represent failed job IDs and whose values are error messages. +* ##### `send-signal(jobs: object<id: int, signal: int>)` + Send signals to jobs which are still executing and return results. + + Response [data](#data-array--object--string--int) type: **object** with job IDs as keys and + kill status (boolean where true means that signal is successfully delivered) as values. + #### jobd-master requests * ##### `register-worker(targets: string[], name: string)` @@ -636,6 +642,10 @@ Here is the list of supported requests, using `type(arguments)` notation. Send [`run-manual()`](#run-manualids-int) requests to registered jobd instances serving specified targets, aggregate and return results. +* ##### `send-signal(jobs: {id: int, signal: int, target: string}[])` + Send [`send-signal()`](#send-signal-jobs) requests to registered jobd instances + serving specified targets, aggregate and return results. + ### Response Message `DATA` is a JSON object with following keys: @@ -665,7 +675,8 @@ Example (w/o trailing `EOT`): ## TODO -- graceful shutdown +- graceful shutdown of jobd +- support signals in jobctl ## License |