mirror of
https://github.com/idanoo/php-resque.git
synced 2024-11-22 00:11:53 +00:00
commit
15a14d8a86
@ -143,7 +143,7 @@ This method can be used to conveniently remove a job from a queue.
|
||||
Resque::dequeue('default', ['My_Job']);
|
||||
|
||||
// Removes job class 'My_Job' with Job ID '087df5819a790ac666c9608e2234b21e' of queue 'default'
|
||||
Resuque::dequeue('default', ['My_Job' => '087df5819a790ac666c9608e2234b21e']);
|
||||
Resque::dequeue('default', ['My_Job' => '087df5819a790ac666c9608e2234b21e']);
|
||||
|
||||
// Removes job class 'My_Job' with arguments of queue 'default'
|
||||
Resque::dequeue('default', ['My_Job' => array('foo' => 1, 'bar' => 2)]);
|
||||
|
Loading…
Reference in New Issue
Block a user