Stuff
This commit is contained in:
parent
43fe499c71
commit
33bc29d39c
1 changed files with 2 additions and 0 deletions
|
@ -49,7 +49,9 @@ class CalculateSpace extends Command
|
||||||
$this->info("Calculate Day: ".$day);
|
$this->info("Calculate Day: ".$day);
|
||||||
$galleries = Gallery::query()->get();
|
$galleries = Gallery::query()->get();
|
||||||
for ($i = 0; $i < 24; $i++) {
|
for ($i = 0; $i < 24; $i++) {
|
||||||
|
$this->info("Hour: ".$i);
|
||||||
foreach ($galleries as $gallery) {
|
foreach ($galleries as $gallery) {
|
||||||
|
$this->info("Gallery: ".$gallery->name);
|
||||||
//Get file size for that hour for that gallery
|
//Get file size for that hour for that gallery
|
||||||
$start = $day." ".$i.":00:00";
|
$start = $day." ".$i.":00:00";
|
||||||
$end = $day." ".$i.":59:59";
|
$end = $day." ".$i.":59:59";
|
||||||
|
|
Loading…
Reference in a new issue