server status included into the admin settings

This commit is contained in:
Čarodej
2022-02-15 09:33:53 +01:00
parent da74a38605
commit b897eaf482
14 changed files with 347 additions and 90 deletions

View File

@@ -1,6 +1,7 @@
<?php
namespace App\Console;
use Carbon\Carbon;
use Illuminate\Console\Scheduling\Schedule;
use App\Console\Commands\SetupDevEnvironment;
use App\Console\Commands\SetupProdEnvironment;
@@ -59,9 +60,13 @@ class Kernel extends ConsoleKernel
$schedule->command('backup:clean')
->daily()
->at('00:15');
$schedule->command('backup:run --only-db')
->daily()
->at('00:20');
// Store latest cron timestamp
cache()->set('latest_cron_update', now()->toString());
}
/**