PHPackages                             nanjingboy/schedule - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. nanjingboy/schedule

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

nanjingboy/schedule
===================

A simple tool that provides a easy way for writing and deploying cron jobs

v0.1.0(11y ago)118MITPHPPHP &gt;=5.4.0

Since May 15Pushed 11y ago1 watchersCompare

[ Source](https://github.com/nanjingboy/schedule)[ Packagist](https://packagist.org/packages/nanjingboy/schedule)[ Docs](https://github.com/nanjingboy/schedule)[ RSS](/packages/nanjingboy-schedule/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

### Schedule:

[](#schedule)

A simple tool that provides a easy way for writing and deploying cron jobs.

### Getting Started:

[](#getting-started)

Here assume your application directory path is: /Users/tom/workspace/test

- cd /Users/tom/workspace/test
- Create composer.json file:

```
{
    "require": {
        "php": ">=5.4.0",
        "nanjingboy/schedule": "*"
    },
    "config": {
        "bin-dir": "bin/"
    }
}
```

- Install it via [composer](https://getcomposer.org/doc/00-intro.md)
- bin/schedule init # Create an initial schedule.php file to define cron jobs

### Example schedule.php file:

[](#example-schedulephp-file)

```
