I want to run a cron task that doesn't use OOP as I need access to functions within:
require_once($CFG->libdir.'/grouplib.php');
require_once($CFG->libdir.'/gradelib.php');
In my cron_task class can I execute a "normal" php function from my
public function execute() {
//code to run a non-OOP function goes here;
return true;
}
I hope this makes sense,
Best Regards
Dave