Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

Latest commit

 

History

History
24 lines (16 loc) · 621 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 621 Bytes

Build Status

Wrapper for adding serialized self-contained Resque jobs to a queue

Built for PHP Resque Ex

Installation

composer require crowdstar/job-worker:~1.0.0

Sample Usage

<?php
use CrowdStar\JobWorker\Queue;

$queue = new Queue('redishost:port', 'redispassword');
$result = $queue->addHighPriorityJob(array('CrowdStar\Covet\Debug', 'debug'), array('some output'));

Processing jobs

To process jobs PHP Resque Ex needs to be running in a environment with your codebase