This commit is contained in:
Kekskurse 2021-01-15 23:08:36 +01:00
parent 43fe499c71
commit 33bc29d39c

View file

@ -49,7 +49,9 @@ class CalculateSpace extends Command
$this->info("Calculate Day: ".$day);
$galleries = Gallery::query()->get();
for ($i = 0; $i < 24; $i++) {
$this->info("Hour: ".$i);
foreach ($galleries as $gallery) {
$this->info("Gallery: ".$gallery->name);
//Get file size for that hour for that gallery
$start = $day." ".$i.":00:00";
$end = $day." ".$i.":59:59";