Cron
Cron API (by Cron)
cron-expression
Parse, Build and Validate CRON Expression. Calculate run dates and determine if a CRON expression is due (by bakame-php)
Cron | cron-expression | |
---|---|---|
1 | 1 | |
350 | 13 | |
0.9% | - | |
5.6 | 0.0 | |
14 days ago | about 2 years ago | |
PHP | PHP | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Cron
Posts with mentions or reviews of Cron.
We have used some of these posts to build our list of alternatives
and similar projects.
cron-expression
Posts with mentions or reviews of cron-expression.
We have used some of these posts to build our list of alternatives
and similar projects.
-
bakame/cron: Parse, Build and Validate CRON Expression. Calculate run dates and determine if a CRON expression is due
I created yet another CRON expression parser library for PHP you can see it https://github.com/bakame-php/cron-expression. The main reason was that I was getting confused by the public API of the most downloaded one on packagist https://packagist.org/packages/dragonmantank/cron-expression and since I liked the engine behind it, I tried to refactor it to expose a different set of API. Hopefully you will like this alternate take and yes it is PHP8.1+ only. And no I did not try to create PRs for that because it was a huge BC break for the original source repo which is still badass.
What are some alternatives?
When comparing Cron and cron-expression you can also consider the following projects:
crunz - A PHP-based job scheduler
icalendar-generator - Generate calendars in the iCalendar format
laravel-short-schedule - Schedule artisan commands to run at a sub-minute frequency
period - Complex period comparisons
period - PHP's time range API
ip - Immutable value object for IPv4 and IPv6 addresses, including helper methods and Doctrine support.
croner - Trigger functions or evaluate cron expressions in JavaScript or TypeScript. No dependencies. Most features. Node. Deno. Bun. Browser.
opening-hours - Query and format a set of opening hours
PHP Cron Scheduler - PHP cron job scheduler