Download the PHP package carlossosa88/cron-expression without Composer
On this page you can find all versions of the php package carlossosa88/cron-expression. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download carlossosa88/cron-expression
More information about carlossosa88/cron-expression
Files in carlossosa88/cron-expression
Download carlossosa88/cron-expression
More information about carlossosa88/cron-expression
Files in carlossosa88/cron-expression
Vendor carlossosa88
Package cron-expression
Short Description CRON for PHP: Calculate the next or previous run date and determine if a CRON expression is due
License MIT
Package cron-expression
Short Description CRON for PHP: Calculate the next or previous run date and determine if a CRON expression is due
License MIT
Please rate this library. Is it a good library?
Informations about the package cron-expression
PHP Cron Expression Parser ( Not Official Repository)
This is a fork from dragonmantank/cron-expression with added not standard expression for Seconds. This is mainly used for Fcron scheduling support for seconds.
Installing
Add the dependency to your project:
Usage
Usage (Seconds)
CRON Expressions
A CRON expression is a string representing the schedule for a particular command to execute. The parts of a CRON schedule are as follows:
* * * * * *
- - - - - -
| | | | | |
| | | | | +- seconds (0 - 59)
| | | | +------ day of week (0 - 7) (Sunday=0 or 7)
| | | +----------- month (1 - 12)
| | +---------------- day of month (1 - 31)
| +--------------------- hour (0 - 23)
+-------------------------- min (0 - 59)
This library also supports a few macros:
@yearly
,@annually
- Run once a year, midnight, Jan. 1 -0 0 1 1 *
@monthly
- Run once a month, midnight, first of month -0 0 1 * *
@weekly
- Run once a week, midnight on Sun -0 0 * * 0
@daily
- Run once a day, midnight -0 0 * * *
@hourly
- Run once an hour, first minute -0 * * * *
Requirements
- PHP 7.1+
- PHPUnit is required to run the unit tests
- Composer is required to run the unit tests
Projects that Use cron-expression
- Part of the Laravel Framework
- Available as a Symfony Bundle - setono/cron-expression-bundle
All versions of cron-expression with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.1
The package carlossosa88/cron-expression contains the following files
Loading the files please wait ....