You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the docs for Enlightn it provides the following code snippet. It's my understanding that these tasks always run in the background when running from the Kernel.php therefore the line ->runInBackground() isn't necessary. I'm currently upgrading from Laravel 8 to 9 and it's been flagged by Laravel shift that having this in would now raise an exception and should be removed. Should the Enlightn docs be updated to reflect this?
// In your app/Console/Kernel.php file:
/**
* Define the application's command schedule.
*
* @param \Illuminate\Console\Scheduling\Schedule $schedule
* @return void
*/
protected function schedule(Schedule $schedule)
{
$schedule->command('enlightn --report')->runInBackground()->daily()->at('01:00');
}
The text was updated successfully, but these errors were encountered:
In the docs for Enlightn it provides the following code snippet. It's my understanding that these tasks always run in the background when running from the Kernel.php therefore the line ->runInBackground() isn't necessary. I'm currently upgrading from Laravel 8 to 9 and it's been flagged by Laravel shift that having this in would now raise an exception and should be removed. Should the Enlightn docs be updated to reflect this?
The text was updated successfully, but these errors were encountered: