How to enable scheduled tasks for the Laravel project in Laravel Toolkit?
Note: Make sure the following pre-requirements are satisfied:
- Laravel Toolkit version >= 1.2.x
- Scheduled tasks defined in Kernel.php of the project:
CONFIG_TEXT: class Kernel extends ConsoleKernel
protected function schedule(Schedule $schedule)
. . .
- The version of Laravel is >= 8.19.x
Once pre-requirements are satisfied, follow these steps: