Skip to content

how to stop a delay job? #87

@yoage

Description

@yoage

hello,I got a delay jobID and I want to stop it later. how to stop it ?
this is my code

 $jobID = Yii::$app->queue->delay(1234)->push(new \console\jobs\DemoJob([
            'function' => "test1",
            'params'   => ['order_id' => 123],

        ]));

Thank you!

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions