Files
fdn2/app/private/lib/task/TestTask.php
T
2022-08-29 23:20:16 +02:00

21 lines
390 B
PHP

<?php
/*
Author: Riccardo Di Dato
Creation Date: 13/gen/2016
*/
class TestTask extends Task {
public static function getName(){
return "test";
}
public static function getLabel(){
return "Un task di test";
}
public static function execute(){
LoggingFacilityManager::getLogger("task")->log(LoggingFacility::$LEVEL_DEBUG,"Execution of task '".self::getLabel()."'");
}
}
?>