2017 © Pedro Peláez
 

library cronlock

Load balanced cron jobs. Backed by Predis.

image

loganhenson/cronlock

Load balanced cron jobs. Backed by Predis.

  • Monday, June 20, 2016
  • by loganhenson
  • Repository
  • 1 Watchers
  • 0 Stars
  • 42 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 5 % Grown

The README.md

CronLock

Load balanced cron jobs. Backed by Predis., (*1)

install

composer require loganhenson/cronlock

sample usage

// 5 minutes after job, it will release the lock
$CronLock = new CronLock(new Client());

// a nice key might be `__CLASS__ . __METHOD__`
$CronLock->cron('some unique key for the job', function () {
    //do some cron stuff
});

License

MIT, (*2)

Inspiration / Credit to

https://github.com/AlexDisler/MutexLock, (*3)

The Versions

20/06 2016

dev-master

9999999-dev https://github.com/loganhenson/cronlock

Load balanced cron jobs. Backed by Predis.

  Sources   Download

The Requires

 

The Development Requires

redis load cron lock balancer

20/06 2016

v1.0.0

1.0.0.0 https://github.com/loganhenson/cronlock

Load balanced cron jobs. Backed by Predis.

  Sources   Download

The Requires

 

The Development Requires

redis load cron lock balancer