Registry / utility / cron-cron

cron-cron

JSON →
library1.9.1phppackagistunverified

Cron expression parser and scheduler.

composer require cron/cron
INSTALL
IMPORT
SIG · CRON-CRON
C
cron-cron
utilityphpv1.9.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

CronExpression
use Cron\CronExpression;

Parse a cron expression and get the next run date.

use Cron\CronExpression; $cron = new CronExpression('@daily'); echo $cron->getNextRunDate()->format('Y-m-d H:i:s');
Debug
Known issues
breakingVersion 1.x uses a different namespace than 2.x.
fix
Use 'Cron\CronExpression' for v1, 'Cron\Cron' for v2.
affects: >=2.0.0
Upgrade
Version history
1.9.1latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Resources
cron-cron — pip install cron-cron · libregistry