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:
1 parent
4ee1d01e38
commit
c470240dc0
8 files changed
+82
-63
No files matched your search
+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