limen/php-jobs
Composer 安装命令:
composer require limen/php-jobs
包简介
A package who helps to organize jobs easily
关键字:
README 文档
README
Features
- jobs are packed into jobset
- jobs can be executed orderly or not orderly or combined
- job's execution time is settable
- job would be retried after failed until reached the max retry count
- the max retry count is adjustable
- job's next execution time is settable
- job can be asynchronous (execute and wait feedback)
Installation
Recommend to install via composer.
composer require "limen/php-jobs"
Usage
Objects
Jobset
A jobset is consist of one or more jobs.
The jobs can be executed orderly or not orderly or combined.
Job
Job has execution time, so you can decide when the job should be executed.
If a job failed, its tried count would increase by 1 and its next execution time is up to you.
The max retry count is also up to you.
If the tried count reached the max retry count, the job would be marked as "failed".
Want to use in Laravel?
see laravel-jobs
Development
Test
$ phpunit --bootstrap tests/bootstrap.php tests/
统计信息
- 总下载量: 38
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-04-05