PHP_SMART_HOME_V3/app/api/CronApi.php

7 lines
157 B
PHP

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