rogervila / laravel-schedule-loop
Run Laravel commands every N seconds (60 by default)
Installs: 1 352
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 0
Open Issues: 1
Requires
- laravel/framework: 5.8.*|^6.0|^7.0|^8.0
Requires (Dev)
- orchestra/testbench: ^3|^4|^5|^6
- phpunit/phpunit: ^7.5 || ^8.0 || ^9.0
- rogervila/php-sonarqube-scanner: ^1.0
This package is auto-updated.
Last update: 2024-11-04 17:57:30 UTC
README
Laravel Schedule Loop
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