Looking to hire Laravel developers? Try LaraJobs

laravel-schedule-loop maintained by rogervila

Description
Run Laravel commands every N seconds (60 by default)
Author
Last update
2022/04/04 14:43 (dev-renovate/configure)
License
Links
Downloads
1 365

Comments
comments powered by Disqus

Laravel Schedule Loop

Quality Gate Status Coverage StyleCI Latest Stable Version Total Downloads License

About

This package provides a schedule:loop command for Laravel that runs any command every N seconds (60 by default)

Installation

composer require rogervila/laravel-schedule-loop

Usage

By default, it will loop schedule:run every 60 seconds

php artisan schedule:loop

# Is the same as

php artisan schedule:loop 60 schedule:run

You may specify the loop sleep time with an integer

# Will run schedule:run every 120 seconds.
php artisan schedule:loop 120

# Will run inspire every 5 seconds.
php artisan schedule:loop 5 inspire

License

Laravel Schedule Loop is open-sourced software licensed under the MIT license.

Icons made by iconixar from www.flaticon.com