start hack archiver
This commit is contained in:
parent
28a998c272
commit
81dc8640be
|
@ -65,6 +65,7 @@ class UptimeArchiver implements ArchiverInterface
|
|||
*/
|
||||
public function archive($server_id = null)
|
||||
{
|
||||
// WIP, create more dynamic by config, temp use config.php
|
||||
$latest_date = new \DateTime('-1 week 0:0:0');
|
||||
|
||||
// Lock tables to prevent simultaneous archiving (by other sessions or the cron job)
|
||||
|
|
Loading…
Reference in New Issue