Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.
/ cronarchy Public archive

A more reliable and distributable alternative to WP Cron.

License

Notifications You must be signed in to change notification settings

RebelCode/cronarchy

Repository files navigation

Build Status Code Climate Test Coverage Latest Stable Version

Cronarchy

Welcome! This is cron anarchy!

Introduction

Cronarchy is a pseudo-cron system similar to WP Cron. Unlike WP Cron however, Cronarchy exposes a more structured API and is developed for reliability, performance and consistent invocation.

We built Cronarchy in a way such that it can be distributed with plugins and themes without interfering with WP Cron and any plugins or themes that depend on it. This is in stark contrast with other solutions, such as Cavalcade, which are intended to be used as drop-in replacements for the entire WP cron system. If you wish to give your entire WordPress site a cron upgrade, we recommend those solutions instead.

Why use Cronarchy over WP Cron?

For us, WP Cron is an unreliable system that resulted in excess customer support. Often times what seemed like bugs in our plugins turned out to be a problem with WP Cron, be it a job not running, unexpectedly terminating or an errenous cron job holding back the rest of the job queue.

So we built Cronarchy. Here are some of the reasons why we think you should give a try:

  • Object-oriented API
  • DI-friendly
  • Auto detects when it's stuck and resets
  • Detects unexpected script failure, cancellation or abortion
  • Better performance through the use of a dedicated jobs table
  • Can be triggered programmatically

Requirements

  • PHP >= 5.4.0
  • WordPress >= 4.7

Links

About

A more reliable and distributable alternative to WP Cron.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages