PHPackages                             jkowens/magento-jobqueue - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Queues &amp; Workers](/categories/queues)
4. /
5. jkowens/magento-jobqueue

ActiveMagento-module[Queues &amp; Workers](/categories/queues)

jkowens/magento-jobqueue
========================

JobQueue for Magento using DJJob

0.8.0(7y ago)5247.8k↓100%21[1 issues](https://github.com/jkowens/magento-jobqueue/issues)MITPHPPHP &gt;=5.1

Since Mar 12Pushed 7y ago11 watchersCompare

[ Source](https://github.com/jkowens/magento-jobqueue)[ Packagist](https://packagist.org/packages/jkowens/magento-jobqueue)[ RSS](/packages/jkowens-magento-jobqueue/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (5)Used By (0)

JobQueue
========

[](#jobqueue)

JobQueue allows Magento applications to place tasks in a queue to be processed asynchronously. It is built on DJJob and makes use of the existing MySQL backend. Some tasks this may be ideal for are:

- Downloading files
- Processing batch jobs
- Sending data to a back-office application or third party systems

### System Requirements

[](#system-requirements)

- PHP 5.1 or higher
- MySQL 4.1.20 or higher
- Magento CE1.6.0-1.9.x/EE1.7.0-1.14.x

### Usage

[](#usage)

Jobs must extend Jowens\_JobQueue\_Model\_Job\_Abstract and implement the perform() method.

```
class Foo_Bar_Model_Order_Job extends Jowens_JobQueue_Model_Job_Abstract
{
  public function perform() {
    // implementation logic
  }
}

```

That job can then be used like so:

```
$job = Mage::getModel('bar/order_job');
$job->setName('Order# 12345')
    ->enqueue();

```

Name is used to identify the job in backend, so be descriptive! The enqueue method can take two optional parameters, a string for queue name and timestamp to specify a time to run the job.

The job can also be attempted immediately. If it fails it is added to the default queue for retry.

```
$job = Mage::getModel('bar/order_job');
$job->setName('Order# 12345')
    ->performImmediate();

```

To put the job on a queue other than the default one, performImmediate takes an optional string value for the name of the retry queue.

### Running Jobs

[](#running-jobs)

JobQueue requires Magento cron to be configured in order to run pending jobs. By default a JobQueue worker executes the pending jobs every 5 minutes. If a job fails it will be retried up to 10 times. Both of these settings can be configured in the admin panel under System &gt; Configuration &gt; General &gt; JobQueue.

Jobs in other queues can be executed by adding more cron entries to a custom module config.xml.

```

            jobqueue/config/cron_expr

            jobqueue/worker::executeJobs

          orders

```

Alternatively workers could be configured to run as they normally would using DJJob. See the [documentation](https://github.com/seatgeek/djjob#running-the-jobs).

### Monitoring Jobs

[](#monitoring-jobs)

Pending and failed jobs can be monitored in the admin panel by going to System &gt; JobQueue.

###  Health Score

36

—

LowBetter than 81% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity41

Moderate usage in the ecosystem

Community22

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 87.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~321 days

Total

4

Last Release

2747d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/efbc5cc98f5eace907bdf96fdbe954d2a39df1dec4a5c2a5e8202e7d56bdd954?d=identicon)[jkowens](/maintainers/jkowens)

---

Top Contributors

[![jkowens](https://avatars.githubusercontent.com/u/585943?v=4)](https://github.com/jkowens "jkowens (65 commits)")[![vub-schumachera](https://avatars.githubusercontent.com/u/42207416?v=4)](https://github.com/vub-schumachera "vub-schumachera (3 commits)")[![Fgruntjes](https://avatars.githubusercontent.com/u/984466?v=4)](https://github.com/Fgruntjes "Fgruntjes (1 commits)")[![gajdy](https://avatars.githubusercontent.com/u/516707?v=4)](https://github.com/gajdy "gajdy (1 commits)")[![bfrozema](https://avatars.githubusercontent.com/u/898250?v=4)](https://github.com/bfrozema "bfrozema (1 commits)")[![rjocoleman](https://avatars.githubusercontent.com/u/154176?v=4)](https://github.com/rjocoleman "rjocoleman (1 commits)")[![jasperzeinstra](https://avatars.githubusercontent.com/u/9214557?v=4)](https://github.com/jasperzeinstra "jasperzeinstra (1 commits)")[![bramstroker](https://avatars.githubusercontent.com/u/2345875?v=4)](https://github.com/bramstroker "bramstroker (1 commits)")

---

Tags

magentomagento-1magento-extension

### Embed Badge

![Health badge](/badges/jkowens-magento-jobqueue/health.svg)

```
[![Health](https://phpackages.com/badges/jkowens-magento-jobqueue/health.svg)](https://phpackages.com/packages/jkowens-magento-jobqueue)
```

###  Alternatives

[league/geotools

Geo-related tools PHP 7.3+ library

1.4k5.3M26](/packages/league-geotools)[amphp/parser

A generator parser to make streaming parsers simple.

14952.8M16](/packages/amphp-parser)[amphp/serialization

Serialization tools for IPC and data storage in PHP.

13451.1M18](/packages/amphp-serialization)[enqueue/enqueue

Message Queue Library

19820.0M56](/packages/enqueue-enqueue)[deliciousbrains/wp-background-processing

WP Background Processing can be used to fire off non-blocking asynchronous requests or as a background processing tool, allowing you to queue tasks.

1.1k409.8k6](/packages/deliciousbrains-wp-background-processing)[react/async

Async utilities and fibers for ReactPHP

2238.8M170](/packages/react-async)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
