Task Run¶
Usage¶
hs
task
run
[-h]
[-n SEC]
[-t TAG [TAG...]]
--
ARGS...
Description¶
Submit individual task and wait for completion.
A database must be configured. The task will not run until scheduled
by the server process. The <stdout> and <stderr> are written locally
as if run locally, requires the client to have --capture
enabled.
See task info
and task wait
commands.
Arguments¶
- ARGS…
Command-line arguments.
The full command-line for some shell task. To use options, preface with leading
--
.
Options¶
-n
,--interval
SECTime in seconds to wait between polling (default: 5).
-t
,--tag
TAG…Assign one or more tags.
Tags allow for user-defined tracking of information related to individual tasks or large groups of tasks. They are defined with both a key and value (e.g.,
--tag file:a
). The default value for tags is blank. When searching with tags, not specifying a value will return any task with that key defined regardless of value (including blank).