Download the PHP package nanjingboy/schedule without Composer
On this page you can find all versions of the php package nanjingboy/schedule. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download nanjingboy/schedule
More information about nanjingboy/schedule
Files in nanjingboy/schedule
Download nanjingboy/schedule
More information about nanjingboy/schedule
Files in nanjingboy/schedule
Vendor nanjingboy
Package schedule
Short Description A simple tool that provides a easy way for writing and deploying cron jobs
License MIT
Homepage https://github.com/nanjingboy/schedule
Package schedule
Short Description A simple tool that provides a easy way for writing and deploying cron jobs
License MIT
Homepage https://github.com/nanjingboy/schedule
Please rate this library. Is it a good library?
Informations about the package schedule
Schedule:
A simple tool that provides a easy way for writing and deploying cron jobs.
Getting Started:
Here assume your application directory path is: /Users/tom/workspace/test
- cd /Users/tom/workspace/test
-
Create composer.json file:
- Install it via composer
- bin/schedule init # Create an initial schedule.php file to define cron jobs
Example schedule.php file:
- $minutes must between 1 and 59.
- $hours must between 1 and 23.
- $daysOfTheMonth must between 1 and 30.
- $daysOfTheWeek must between 0 and 7.
- $months must between 1 and 12.
- $logOptions:
- log: output STDOUT and STDERR to the given path.
- standard_log: output STDOUT to the given path.
- error_log: output STDERR to the given path.
- if set value of log,standard_log,error_log with null, it will output STDOUT or STDERR to /dev/null.
- The value of $minutes, $hours, $daysOfTheMonth, $daysOfTheWeek, $months can be set with a single integer or array, while methods which start with every only can be set with a single integer.
- Except methods which start with every you must invoke, the other is optional.
- You can replace command method with file, get more information from file invoke.
Environment:
- If a *.env(file name will read from ENV environment) file exists in the current directory, the default environment will be read from it.
- You can also set SCHEDULE_ENV_FILE environment to special a *.env file.
- If ENV and SCHEDULE_ENV_FILE neither be set, the default environment will be read from .env file(if it exists) in the current directory.
- Get a example from: test.env
Cli:
License:
MIT
All versions of schedule with dependencies
PHP Build Version
Package Version
The package nanjingboy/schedule contains the following files
Loading the files please wait ....