PHP_SMART_HOME_V3/app/api/CronApi.php

8 lines
205 B
PHP
Raw Normal View History

2020-07-21 08:29:26 +00:00
<?php
class CronApi extends ApiController {
public function clean(){
2020-07-21 08:34:15 +00:00
$logKeeper = new LogMaintainer();
2020-07-21 08:29:26 +00:00
$logKeeper->purge(LOGTIMOUT);
2020-07-28 07:02:46 +00:00
$this->response(['Value' => 'OK']);
2020-07-21 08:29:26 +00:00
}
}