Skip to content

olef work

olef v3.18.0View Markdown

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.

Inspect, run, and cancel AndroidX WorkManager jobs and JobScheduler correlations

Terminal window
olef work --help

Output: json.

List WorkManager tasks, decoded inputs/outputs, tags, dependencies, and OS JobScheduler correlation

Terminal window
olef work list --help

Output: 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.

Show detailed WorkManager record + JobScheduler correlation for one work UUID

Terminal window
olef work show --help

Output: 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.

Trigger an enqueued WorkManager job immediately via JobScheduler and verify execution vs deferral

Terminal window
olef work run --help

Output: 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.

Cancel a WorkManager task (and verify downstream dependent cancellation) via live runtime

Terminal window
olef work cancel --help

Output: json.

Argument Description
<work_id> Required. WorkManager UUID
--app <APP> App package or configured app alias
--json Accepted for compatibility; output is always JSON.