crowdstar/job-worker

This package is abandoned and no longer maintained. No replacement package was suggested.

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

1.0.0 2019-03-21 23:49 UTC

This package is auto-updated.

Last update: 2023-06-26 04:08:12 UTC


README

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