Generate a crontab from your Laravel schedule.
Laravel's scheduler works by adding a cronjob which runs every minute.
Cron daemons can do their work way more efficiently if you let them schedule the jobs.
This package adds a command (schedule:crontab
) to generate a crontab based on the schedule you defined.
Currently works with Laravel 5.6 and 5.7, as well as Laravel Zero 5.6 and 5.7.
# Install dependencies
composer install
# Run tests
composer test
# Run tests & report coverage
composer test -- --coverage-test
Send a pull request, ensure you've got full test coverage.
- Support for
withoutOverlapping()
- Support for
runsInMaintenanceMode()
Laravel Crontab is licensed under the MIT License.