opal-procrastinate
No description available
Usage
opal-procrastinate [OPTIONS] COMMAND [ARGS]...
Arguments
No arguments available
Options
| Name | Description | Required | Default |
|---|---|---|---|
--version / --no-version |
Show version [default: no-version] | No | - |
--settings / --no-settings |
Show current settings [default: no-settings] | No | - |
--install-completion |
Install completion for the current shell. | No | - |
--show-completion |
Show completion for the current shell, to copy it or customize the installation. | No | - |
--help |
Show this message and exit. | No | - |
Commands
| Name | Description |
|---|---|
defer-entities |
Defer jobs for a stream of proxies |
defer-jobs |
Defer jobs from an input json stream |
init-db |
Initialize procrastinate database schema |
requeue-failed |
Requeue failed jobs matching the given... |
requeue-stalled |
Requeue stalled/orphaned jobs matching the... |
Subcommands
opal-procrastinate defer-entities
Defer jobs for a stream of proxies
Usage
opal-procrastinate defer-entities [OPTIONS]
Arguments
No arguments available
Options
| Name | Description | Required | Default |
|---|---|---|---|
-i TEXT |
Input uri, default stdin [default: -] | No | - |
-d TEXT |
Dataset | Yes | - |
-q TEXT |
Queue name | Yes | - |
-t TEXT |
Task module path | Yes | - |
--help |
Show this message and exit. | No | - |
opal-procrastinate defer-jobs
Defer jobs from an input json stream
Usage
opal-procrastinate defer-jobs [OPTIONS]
Arguments
No arguments available
Options
| Name | Description | Required | Default |
|---|---|---|---|
-i TEXT |
Input uri, default stdin [default: -] | No | - |
--help |
Show this message and exit. | No | - |
opal-procrastinate init-db
Initialize procrastinate database schema
Usage
opal-procrastinate init-db [OPTIONS]
Arguments
No arguments available
Options
| Name | Description | Required | Default |
|---|---|---|---|
--help |
Show this message and exit. | No | - |
opal-procrastinate requeue-failed
Requeue failed jobs matching the given filters.
This command finds all jobs with status='failed' that match the optional filters (dataset, queue, task) and retries them by setting their status back to 'todo'.
Usage
opal-procrastinate requeue-failed [OPTIONS]
Arguments
No arguments available
Options
| Name | Description | Required | Default |
|---|---|---|---|
-d TEXT |
Dataset | No | - |
-q TEXT |
Queue name | No | - |
-t TEXT |
Task module path | No | - |
--help |
Show this message and exit. | No | - |
opal-procrastinate requeue-stalled
Requeue stalled/orphaned jobs matching the given filters.
This command finds all jobs with status='doing' whose worker no longer exists (orphaned jobs) and retries them by setting their status back to 'todo'.
Orphaned jobs can occur when the foreign key constraint on worker_id is dropped (for performance) and workers are pruned before completing their jobs.
Usage
opal-procrastinate requeue-stalled [OPTIONS]
Arguments
No arguments available
Options
| Name | Description | Required | Default |
|---|---|---|---|
-d TEXT |
Dataset | No | - |
-q TEXT |
Queue name | No | - |
-t TEXT |
Task module path | No | - |
--help |
Show this message and exit. | No | - |