Stats
This commit is contained in:
@@ -237,6 +237,7 @@ function getMonthlyPageImpressionsPipeline($startDate, $endDate) {
|
||||
];
|
||||
}
|
||||
|
||||
$curYear = intval(date("Y"));
|
||||
for ($y = 2016; $y <= intval(date("Y")); $y++) {
|
||||
echo "Working on year : $y", PHP_EOL;
|
||||
|
||||
@@ -290,7 +291,7 @@ for ($y = 2016; $y <= intval(date("Y")); $y++) {
|
||||
}
|
||||
|
||||
|
||||
if ($y == 2022) {
|
||||
if ($y == $curYear) {
|
||||
$pipe = getDailyNotiziaImpressionsPipeline( $from, $to );
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user