PHP_SMART_HOME_V3/app/api/CronApi.php
2020-07-21 10:34:15 +02:00

7 lines
161 B
PHP

<?php
class CronApi extends ApiController {
public function clean(){
$logKeeper = new LogMaintainer();
$logKeeper->purge(LOGTIMOUT);
}
}