imnotjames/cronic

A Cron annotation helper.

0.0.2 2017-04-03 19:08 UTC

This package is not auto-updated.

Last update: 2024-12-21 21:19:46 UTC


README

A cron job handler using Annotations for configuration.

How it Works

Magic. Annotate your class with @cron and a cron expression, and set up the cronic command in your crontab.

class Example {

    /**
     * @cron * * * * *
     */
    function exampleMethod() {
    }
}