signaloid-cli tasks status
Get task status.
Synopsis
signaloid-cli tasks status --task-id <id>
Options
| Option | Required | Description |
|---|---|---|
--task-id <id> | Yes | Task ID |
Description
Retrieves the current status of a task. This is a lightweight alternative to signaloid-cli tasks get when you only need to check the status.
Examples
signaloid-cli tasks status --task-id tsk_abc123
Output:
{
"TaskID": "tsk_abc123",
"Status": "completed"
}
Use in scripts:
STATUS=$(signaloid-cli tasks status --task-id $TASK_ID | jq -r '.Status')
if [ "$STATUS" = "completed" ]; then
echo "Task completed successfully"
fi
Notes
- Returns only TaskID and Status fields
- Useful for polling in scripts
- More efficient than
tasks getwhen you only need status - For waiting on task completion, consider using
signaloid-cli tasks watch
Task Status Values
| Status | Description |
|---|---|
accepted | Task has been accepted by the system |
initialising | Task is being initialized |
in progress | Task is currently running |
completed | Task finished successfully |
cancelled | Task was cancelled by user |
stopped | Task was stopped by system |
See Also
- signaloid-cli tasks get - Get full task details
- signaloid-cli tasks watch - Wait for task completion
- signaloid-cli tasks output - Download task output