{"repo":"spatie/laravel-cronless-schedule","free":true,"listed":false,"github":"https://github.com/spatie/laravel-cronless-schedule","clone":"git clone https://github.com/spatie/laravel-cronless-schedule.git","description":"Run the Laravel scheduler without relying on cron","language":"PHP","stars":387,"topics":["laravel","php","cron","scheduler","artisan"],"license":"MIT","category":"workflow-automation","readme_excerpt":"Run the Laravel scheduler without relying on cron Laravel's native scheduler relies on cron to be executed every minute. It's rock solid and in most cases you should stick to using it. If you want to simulate the scheduler running every minute in a test environment, using cron can be cumbersome. This package provides a command to run the scheduler every minute, without relying on cron. Instead it uses a ReactPHP loop. This is how you can start the cronless schedule: This command will never end. Behind the scenes it will execute php artisan schedule every minute. Support us We invest a lot of resources into creating best in class open source packages. You can support us by buying one of our paid products. We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on our contact page. We publish all received postcards on our virtual postcard wall. Installation You can install the package via composer. Probably you only want to use this schedule in a development environment. Usage This is how you can start the cronless schedule: By default, it will run every minute. Manually triggering a run To perform an extra run of the scheduler, just press enter. Using an alternative frequency If you want to run the scheduler at another frequency, you can pass an amount of seconds to the frequency option. Here is an example where the schedule will be run every 5 seconds. Using another command If you want to run","default_branch":null,"files":null,"tree":[],"storefront":"/r/spatie","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/spatie/laravel-cronless-schedule/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}