2017 © Pedro Peláez
 

library cron

g4 cron like parser with ability to parse expressions with resolution in seconds - based on PHP Cron Expression Parser

image

g4/cron

g4 cron like parser with ability to parse expressions with resolution in seconds - based on PHP Cron Expression Parser

  • Tuesday, November 4, 2014
  • by g4code
  • Repository
  • 4 Watchers
  • 4 Stars
  • 12,134 Installations
  • PHP
  • 3 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 5 Versions
  • 13 % Grown

The README.md

Cron

Cron - G4 Cron like parser with ability to parse expressions with resolution in seconds - based on PHP Cron Expression Parser, (*1)

Install

Using Composer and Packagist, (*2)

composer require g4/cron
require_once 'vendor/autoload.php';

$expression = \G4\Cron\CronExpression::factory('*/3 * * * * * *');

echo date('Y-m-d H:i:s'), ' = ', $expression->getNextRunDate()->format('Y-m-d H:i:s'), PHP_EOL;
echo date('Y-m-d H:i:s'), ' = ', $expression->getPreviousRunDate()->format('Y-m-d H:i:s'), PHP_EOL;

Development

Install dependencies

$ make install

Run tests

$ make test

License

(The MIT License) see LICENSE file for details..., (*3)

The Versions

04/11 2014

dev-master

9999999-dev

g4 cron like parser with ability to parse expressions with resolution in seconds - based on PHP Cron Expression Parser

  Sources   Download

MIT

The Requires

 

by Dejan Samardzija

task cron

04/11 2014

0.1.2

0.1.2.0

g4 cron like parser with ability to parse expressions with resolution in seconds - based on PHP Cron Expression Parser

  Sources   Download

MIT

The Requires

 

by Dejan Samardzija

task cron

04/11 2014

dev-develop

dev-develop

g4 cron like parser with ability to parse expressions with resolution in seconds - based on PHP Cron Expression Parser

  Sources   Download

MIT

The Requires

 

by Dejan Samardzija

task cron

26/10 2014

0.1.1

0.1.1.0

g4 cron like parser with ability to parse expressions with resolution in seconds - based on PHP Cron Expression Parser

  Sources   Download

MIT

The Requires

 

by Dejan Samardzija

task cron

07/06 2014

0.1.0

0.1.0.0

g4 cron like parser with ability to parse expressions with resolution in seconds - based on PHP Cron Expression Parser

  Sources   Download

MIT

The Requires

 

by Dejan Samardzija

task cron