Fix: Job to check invoice due dates was never run
Made it a command so it runs with the scheduler
This commit is contained in:
+10
-2
@@ -7,7 +7,7 @@
|
||||
use Illuminate\Foundation\Configuration\Middleware;
|
||||
use Illuminate\Http\Middleware\AddLinkHeadersForPreloadedAssets;
|
||||
|
||||
return Application::configure(basePath: dirname(__DIR__))
|
||||
$app = Application::configure(basePath: dirname(__DIR__))
|
||||
->withRouting(
|
||||
web: __DIR__ . '/../routes/web.php',
|
||||
commands: __DIR__ . '/../routes/console.php',
|
||||
@@ -26,4 +26,12 @@
|
||||
})
|
||||
->withExceptions(function (Exceptions $exceptions) {
|
||||
//
|
||||
})->create();
|
||||
})->withKernels()->create();
|
||||
|
||||
$app->singleton(
|
||||
\Illuminate\Contracts\Console\Kernel::class,
|
||||
\App\Console\Kernel::class
|
||||
);
|
||||
|
||||
return $app;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user