Author: Manuel Lemos
Package: PHP Cron Job Lock
This capability of the cron program is helpful to execute tasks that need to be done regularly, like, for instance, creating a backup copy of a database.
Some tasks cannot be executed more than once at the same time. One way to assure that a job runs only once at a time is to use file locks.
This package uses file locks to prevent that the same task executes more than once.
About the PHP Cron Job Lock Package
The basic purpose is: Manage lock files while a cron job is running
Here follows in more detail what it does:
This class can manage lock files while a cron job is running.
It extends the loader class to provide functions that use file locks to check if a given cron task runs so the job does not run multiple times.
The class can also unlock the file to allow the same cron job to run again when it is time.
This package was considered notable for implementing its benefits in a way that is worth noticing.
Notable PHP packages can be often considered innovative. If this package is also innovative, it can be nominated to the PHP Innovation Award and the author may win prizes and recognition for sharing innovative packages.
If you also developed your own notable or innovative packages consider sharing them, so you can also earn more visibility for your package as well nice prizes.
One nice prize that many PHP developers want and you may like is the PHP elePHPant mascot plush.
You need to be a registered user or login to post a comment
Login Immediately with your account on:
No comments were submitted yet.