Laravel 5 Schedular vs Indatus Dispatcher

I watched the Indatus Dispatcher ( https://github.com/Indatus/dispatcher ) and it looks much more flexible than the built-in scheduler in Laravel 5.

For example, with the Dispatcher, I can:

...->daysOfTheMonth([1, 15]) 

So that the team runs on the 1st and 15th of each month.

From what I see, you cannot do this with the Scheduler:

 ...->monthly(1, 15) 

This will not work because this function does not accept any parameters.

Am I losing something or is the Dispatcher much better?

+5
source share
1 answer

Indatus Dispatcher is not compatible with Laravel 5. It has been discontinued as most of the features are now included in Laravel 5 by default.

You can always run custom cron time - so you can really plan with Laravel 5, which you like:

 ...->cron('0 0 1,15 * * *') 
+5
source

All Articles