Commit 914d24a69571d873f72325a9fe87bb6dcdcfb939
1 parent
50d8cce2
Exists in
master
and in
1 other branch
Indicador 29 - Periodicidade do envio - Data da coleta
Showing
1 changed file
with
7 additions
and
0 deletions
Show diff stats
rn/MdEstatisticasColetarRN.php
... | ... | @@ -17,6 +17,7 @@ class MdEstatisticasColetarRN extends InfraRN { |
17 | 17 | try { |
18 | 18 | |
19 | 19 | $indicadores = array( |
20 | + 'dataColeta' => $this->obterDataColeta(), | |
20 | 21 | 'seiVersao' => $this->obterVersaoSEI(), |
21 | 22 | 'phpVersao' => $this->obterVersaoPHP(), |
22 | 23 | 'memcachedVersao' => $this->obterVersaoMemcached(), |
... | ... | @@ -281,5 +282,11 @@ class MdEstatisticasColetarRN extends InfraRN { |
281 | 282 | return $so; |
282 | 283 | } |
283 | 284 | |
285 | + private function obterDataColeta(){ | |
286 | + $dataColeta = date ("Y-m-d"); | |
287 | + InfraDebug::getInstance()->gravar('SEI29 - Periodicidade do envio - Data da coleta: ' . $dataColeta, InfraLog::$INFORMACAO); | |
288 | + return $dataColeta; | |
289 | + } | |
290 | + | |
284 | 291 | } |
285 | 292 | ?> | ... | ... |