LaravelPackages.net
Acme Inc.
Toggle sidebar
paneidos/laravel-crontab

Generate a crontab from your schedule

1
0
v0.1.0
About paneidos/laravel-crontab

paneidos/laravel-crontab is a Laravel package for generate a crontab from your schedule. It currently has 0 GitHub stars and 1 downloads on Packagist (latest version v0.1.0). Install it with composer require paneidos/laravel-crontab. Discover more Laravel packages by paneidos or browse all Laravel packages to compare alternatives.

Last updated

Laravel Crontab

Generate a crontab from your Laravel schedule.

Why would I need this?

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.

Compatibility

Currently works with Laravel 5.6 and 5.7, as well as Laravel Zero 5.6 and 5.7.

Development

# Install dependencies
composer install
# Run tests
composer test
# Run tests & report coverage
composer test -- --coverage-test

Contributing

Send a pull request, ensure you've got full test coverage.

Planned features

  • Support for withoutOverlapping()
  • Support for runsInMaintenanceMode()

License

Laravel Crontab is licensed under the MIT License.

Comments