diff --git a/src/Client.php b/src/Client.php index c7957aa..f69bd4c 100644 --- a/src/Client.php +++ b/src/Client.php @@ -141,7 +141,7 @@ private function atomicPush($jobId, $class, $args = [], $queue = self::QUEUE, $r $this->redis->sadd($this->name('queues'), $queue); $this->redis->lpush($this->name('queue', $queue), $job); } else { - $this->redis->zadd($this->name('schedule'), [$job => $doAt]); + $this->redis->zadd($this->name('schedule'), $doAt, $job); } }