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
|
|
|
}
|
|
|
|
}
|