2017 © Pedro Peláez
 

library batches

A lightweight php lib for creating scheduled batch jobs and integrating them easily in php applications

image

drieschel/batches

A lightweight php lib for creating scheduled batch jobs and integrating them easily in php applications

  • Wednesday, June 10, 2015
  • by drieschel
  • Repository
  • 1 Watchers
  • 2 Stars
  • 214 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

batches

A lightweight php lib for creating scheduled batch jobs and integrating them easily in php applications. Jobs from a batch will be executed everytime when the execution time is reached or exceeded. That is a very important detail, because php is running request based and not like a daemon., (*1)

  1. You have to create your own Job classes. They only need to implement the Job interface from this repository.
  2. Instantiate a Batch object with a unique name and the directory where the run files has to be stored.
  3. Set the executionPlan by method. Its cronjob notation like.
  4. Instantiate the Job(s) you need and add them to the Batch object.
  5. Call the run method from the Batch object.

The Versions

10/06 2015

dev-master

9999999-dev

A lightweight php lib for creating scheduled batch jobs and integrating them easily in php applications

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

scheduling batches batch jobs

07/06 2015

0.1.0

0.1.0.0

lightweight php lib for creating batch jobs and integrating them easily in php applications.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

scheduling batches batch jobs