1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 21:22:58 +01:00

fixes for Artisan commands

This commit is contained in:
David Bomba 2021-05-07 11:48:13 +10:00
parent 82cac0851e
commit 8b8d021ad1

View File

@ -49,6 +49,10 @@ class SchedulerCheck implements ShouldQueue
try { try {
Artisan::call('clear-compiled');
Artisan::call('cache:clear');
Artisan::call('route:clear');
Artisan::call('config:clear');
Artisan::call('optimize'); Artisan::call('optimize');
} catch (\Exception $e) { } catch (\Exception $e) {
nlog($e->getMessage()); nlog($e->getMessage());