Task Wait¶
Usage¶
hs
task
wait
[-h]
ID
[-n SEC]
[--info [-f FORMAT] | --status | --return]
Description¶
Wait for task to complete.
Poll the database periodically for the completion status of the task. Block until completed.
Optionally, print task metadata after completion.
Arguments¶
- ID
Unique task UUID.
Options¶
-n
,--interval
SECTime in seconds to wait between polling (default: 5).
-i
,--info
Print task info after completion.
See
task info
command.-f
,--format
FORMATFormat task info ([normal], json, yaml).
--json
Format metadata output as JSON.
--yaml
Format metadata output as YAML.
-s
,--status
Print task exit status only.
-r
,--return
Use exit status from task.