Registry / utility / mtdowling-cron-expression

mtdowling-cron-expression

JSON →
library1.2.3phppackagistunverified

CRON for PHP: Calculate the next or previous run date and determine if a CRON expression is due.

composer require mtdowling/cron-expression
INSTALL
IMPORT
SIG · MTDOWLING-CRON-EXP
M
mtdowling-cron-expression
utilityphpv1.2.3
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;

Get the next run date for a daily cron expression.

use Cron\CronExpression; $cron = CronExpression::factory('@daily'); echo $cron->getNextRunDate()->format('Y-m-d H:i:s');
Debug
Known issues
breakingThis package is abandoned; use dragonmantank/cron-expression instead.
fix
Replace mtdowling/cron-expression with dragonmantank/cron-expression.
affects: >=1.0.0
Upgrade
Version history
1.2.3latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
13
Amazon
1
Resources
mtdowling-cron-expression — pip install mtdowling-cron-expression · libregistry