Crone Controlls Commit
This commit is contained in:
		
							
								
								
									
										7
									
								
								app/api/CronApi.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								app/api/CronApi.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,7 @@
 | 
			
		||||
<?php 
 | 
			
		||||
class CronApi extends ApiController {
 | 
			
		||||
    public function clean(){
 | 
			
		||||
        $logKeeper = new LogKeeper();
 | 
			
		||||
        $logKeeper->purge(LOGTIMOUT);
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user