3 $URL_HANDLERS["cron.*"] = "GLCASCron";
6 function __construct($config)
8 $this->config = $config;
9 error_log("constructor for GLCASCron");
18 foreach($CRON_CLASSES as $crons) {
19 $calling = new $crons($this->config);
20 if(method_exists($crons, "cron")) {
21 echo "<font color=\"green\">CRON: Calling $crons"."->cron:</font><br>";
22 echo "<table><tr><td><font color=\"green\">$crons</font></td><td>";
24 echo "</td></tr></table>";
26 echo "<font color=\"red\">CRON: would call $crons"."->cron but it doesnt exist</font><br>";