Fix up demo/queue.php job arguments

This commit is contained in:
Chris Boulton 2010-04-19 00:12:35 +10:00
parent e3c953baf1
commit 7ef1ebbd97

View File

@ -10,10 +10,10 @@ Resque::setBackend('127.0.0.1:6379');
$class = new stdClass;
$class->test = 'test';
$args = array(
time(),
$class
);
$args = new stdClass;
$args->time = time();
$args->class = $class;
$jobId = Resque::enqueue('default', $argv[1], $args, true);
echo "Queued job ".$jobId."\n\n";
?>