olef work
Generated from Olef 3.18.0. All olef commands · ocloud commands · Capabilities
These entries describe available commands, not a sequence to run. Check prerequisites before changing app, device, or cloud state. Global options are listed in the command catalog.
olef work
Section titled “olef work”Inspect, run, and cancel AndroidX WorkManager jobs and JobScheduler correlations
olef work --helpOutput: json.
olef work list
Section titled “olef work list”List WorkManager tasks, decoded inputs/outputs, tags, dependencies, and OS JobScheduler correlation
olef work list --helpOutput: json.
| Argument | Description |
|---|---|
--app <APP> |
App package or configured app alias |
--state <STATE> |
Filter by WorkInfo state Values: enqueued, running, succeeded, failed, blocked, cancelled. |
--tag <TAG> |
Filter by WorkManager tag |
--live |
Query live WorkManager via the attached runtime agent |
--json |
Accepted for compatibility; output is always JSON. |
olef work show
Section titled “olef work show”Show detailed WorkManager record + JobScheduler correlation for one work UUID
olef work show --helpOutput: json.
| Argument | Description |
|---|---|
<work_id> |
Required. WorkManager UUID |
--app <APP> |
App package or configured app alias |
--live |
Query live WorkManager via the attached runtime agent |
--json |
Accepted for compatibility; output is always JSON. |
olef work run
Section titled “olef work run”Trigger an enqueued WorkManager job immediately via JobScheduler and verify execution vs deferral
olef work run --helpOutput: json.
| Argument | Description |
|---|---|
<work_id> |
Required. WorkManager UUID |
--app <APP> |
App package or configured app alias |
--wait-ms <WAIT_MS> |
Poll duration for state/run-attempt transition in milliseconds Default: 5000. |
--json |
Accepted for compatibility; output is always JSON. |
olef work cancel
Section titled “olef work cancel”Cancel a WorkManager task (and verify downstream dependent cancellation) via live runtime
olef work cancel --helpOutput: json.
| Argument | Description |
|---|---|
<work_id> |
Required. WorkManager UUID |
--app <APP> |
App package or configured app alias |
--json |
Accepted for compatibility; output is always JSON. |