2017 © Pedro Peláez
 

library pid-file-manager

PID file manager for prevent overlapping in cron task

image

bastiendonjon/pid-file-manager

PID file manager for prevent overlapping in cron task

  • Tuesday, November 1, 2016
  • by bastiendonjon
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1,796 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 7 Versions
  • 0 % Grown

The README.md

PIDFileManager

PID Manager for prevent overlapping in cron task, (*1)

Requirements

  • PHP >= 5.4.0

Composer installation

You must modify your composer.json file and run composer update to include the latest version of the package in your project:, (*2)

"require": {
    "bastiendonjon/pid-file-manager": "1.0.*"
}

Or you can run the composer require command from your terminal:, (*3)

composer require bastiendonjon/pid-file-manager

Usage

// Usage in simple task :
$elem = new PIDFileManager('myProcessName', storage_path());
$elem->start();

// Usage in daemon task :
$elem = new PIDFileManager('myProcessName', storage_path());
$elem->start();

// Add oneTime if you demonize your script
while(true) {
    sleep(1)
    $elem->oneTime();
}

The Versions

01/11 2016

dev-master

9999999-dev

PID file manager for prevent overlapping in cron task

  Sources   Download

The Requires

  • php >=5.4.0

 

file task manager cron pid overlapping

27/09 2016

1.1.2

1.1.2.0

PID file manager for prevent overlapping in cron task

  Sources   Download

The Requires

  • php >=5.4.0

 

file task manager cron pid overlapping

21/09 2016

1.1.0

1.1.0.0

PID file manager for prevent overlapping in cron task

  Sources   Download

The Requires

  • php >=5.4.0

 

file task manager cron pid overlapping

20/09 2016

1.0.3

1.0.3.0

PID file manager for prevent overlapping in cron task

  Sources   Download

The Requires

  • php >=5.4.0

 

file task manager cron pid overlapping

13/09 2016

1.0.2

1.0.2.0

PID file manager for prevent overlapping in cron task

  Sources   Download

The Requires

  • php >=5.4.0

 

file task manager cron pid overlapping

12/09 2016

1.0.1

1.0.1.0

PID file manager for prevent overlapping in cron task

  Sources   Download

The Requires

  • php >=5.4.0

 

file task manager cron pid overlapping

19/07 2016

v1.0.0

1.0.0.0

PID file manager for prevent overlapping in cron task

  Sources   Download

The Requires

  • php >=5.4.0

 

file task manager cron pid overlapping