mirror of
https://github.com/idanoo/php-resque
synced 2025-07-01 05:32:20 +00:00
- Updated travis builds to run on PHP 7.0, 7.1 and 7.2.
- Added ability to specify multiple log levels. [DEBUG/INFO/NOTICE/WARNING/ERROR/CRITICAL/ALERT/EMERGENCY] - Default is now . - Removed VERBOSE / VVERBOSE flags. - Enabled date/time logging by default.
This commit is contained in:
parent
177f8e3c19
commit
0d0c0d0a7e
8 changed files with 68 additions and 68 deletions
|
@ -11,12 +11,12 @@ Resque::setBackend('127.0.0.1:6379');
|
|||
//Resque::setBackend('redis://user:pass@127.0.0.1:6379');
|
||||
//Resque::setBackend('redis://user:pass@a.host.name:3432/2');
|
||||
|
||||
$args = array(
|
||||
$args = [
|
||||
'time' => time(),
|
||||
'array' => array(
|
||||
'array' => [
|
||||
'test' => 'test',
|
||||
),
|
||||
);
|
||||
],
|
||||
];
|
||||
if (empty($argv[2])) {
|
||||
$jobId = Resque::enqueue('default', $argv[1], $args, true);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue