8 lines
205 B
PHP
8 lines
205 B
PHP
<?php
|
|
class CronApi extends ApiController {
|
|
public function clean(){
|
|
$logKeeper = new LogMaintainer();
|
|
$logKeeper->purge(LOGTIMOUT);
|
|
$this->response(['Value' => 'OK']);
|
|
}
|
|
} |