PHPackages                             mootoons/cronplus - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. mootoons/cronplus

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

mootoons/cronplus
=================

Add/Remove a WordPress Cron job easily

1.0.6(3y ago)012GPL-3.0PHP

Since Jun 7Pushed 3y agoCompare

[ Source](https://github.com/mootoons/CronPlus)[ Packagist](https://packagist.org/packages/mootoons/cronplus)[ Docs](https://github.com/WPBP/CronPlus)[ RSS](/packages/mootoons-cronplus/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (10)Used By (0)

CronPlus
========

[](#cronplus)

[![License](https://camo.githubusercontent.com/1b0c7e4911720d0444c16a1ffd145a039f14a1a7305362ab51184f757a4dd6bc/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d47504c25323076332d626c75652e737667)](http://www.gnu.org/licenses/gpl-3.0)[![Downloads](https://camo.githubusercontent.com/7bcc4f91b9a6091735c4b4c873d037380033ede4f8fefe804227c3264d6773bf/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f777062702f63726f6e706c75732e737667)](https://camo.githubusercontent.com/7bcc4f91b9a6091735c4b4c873d037380033ede4f8fefe804227c3264d6773bf/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f777062702f63726f6e706c75732e737667)

Add and remove Cron job in WordPress easily!

Install
-------

[](#install)

`composer require mootoons/cronplus:dev-master`

[composer-php52](https://github.com/composer-php52/composer-php52) supported.

Example
-------

[](#example)

```
$args = array(
    // to execute at a specific time based on recurrence
    'time' => time(), // not mandatory, will use the current time
    // hourly, daily, twicedaily, weekly, monthly or timestamp for single event
    'recurrence' => 'hourly',
    // schedule (specific interval) or single (at the time specified)
    'schedule' => 'schedule',
    // Name of the Cron job used internally
    'name' => 'cronplusexample',
    // Callback to execute when the cron job is launched
    'cb' => 'cronplus_example',
    // Multisite support disabled by default
    'multisite'=> false,
    // Used on deactivation for register_deactivation_hook to cleanup
    'plugin_root_file'=> '',
    // When the event is scheduled is also executed
    'run_on_creation'=> false,
    // Args passed to the hook executed during the cron
    'args' => array( get_the_ID() )
);

function cronplus_example( $id ) {
	echo $id;
}

$cronplus = new CronPlus( $args );
// Schedule the event
$cronplus->schedule_event();
// Remove the event by the schedule
$cronplus->clear_schedule_by_hook();
// Jump the scheduled event
$cronplus->unschedule_specific_event();
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 90% 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 ~278 days

Recently: every ~437 days

Total

9

Last Release

1405d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0a0fe23069d46cfda59a4a9442cc66440b3039734d847d3ccc5360797f905b80?d=identicon)[mootoons](/maintainers/mootoons)

---

Top Contributors

[![Mte90](https://avatars.githubusercontent.com/u/403283?v=4)](https://github.com/Mte90 "Mte90 (27 commits)")[![aphagon](https://avatars.githubusercontent.com/u/11506169?v=4)](https://github.com/aphagon "aphagon (3 commits)")

---

Tags

wordpresscron

### Embed Badge

![Health badge](/badges/mootoons-cronplus/health.svg)

```
[![Health](https://phpackages.com/badges/mootoons-cronplus/health.svg)](https://phpackages.com/packages/mootoons-cronplus)
```

###  Alternatives

[tgmpa/tgm-plugin-activation

TGM Plugin Activation is a PHP library that allows you to easily require or recommend plugins for your WordPress themes (and plugins).

1.8k222.5k13](/packages/tgmpa-tgm-plugin-activation)[aristath/kirki

Extending the WordPress customizer

1.3k73.0k4](/packages/aristath-kirki)[afragen/git-updater

A plugin to automatically update GitHub, Bitbucket, GitLab, or Gitea hosted plugins, themes, and language packs.

3.3k1.6k](/packages/afragen-git-updater)[wpbp/cronplus

Add/Remove a WordPress Cron job easily

2610.0k](/packages/wpbp-cronplus)

PHPackages © 2026

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