sleep
This commit is contained in:
parent
cbb1447918
commit
1d354032a5
@ -16,6 +16,7 @@ $start = Carbon::parse('2016-01')->startOfMonth();
|
||||
$end = Carbon::parse('2019-07')->endOfMonth();
|
||||
|
||||
for ($i = 0; $i <= $end->diffInMonths($start); $i++) {
|
||||
sleep(1);
|
||||
$month = $start->copy()->addMonths($i)->format('Y-m');
|
||||
$conditions['month'] = $month;
|
||||
echo $month . PHP_EOL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user