diff --git a/app/workers/usage.php b/app/workers/usage.php index d10005dea7..fda09de1b9 100644 --- a/app/workers/usage.php +++ b/app/workers/usage.php @@ -24,6 +24,9 @@ $server ->workerStart() ->action(function () use (&$stack) { Timer::tick(30000, function () use (&$stack) { + $hourly = date('d-m-Y H:00', time()); + $daily = date('d-m-Y 00:00', time()); + $chunk = array_slice($stack, 0, count($stack)); array_splice($stack, 0, count($stack)); var_dump($chunk);