cron fixes, hosts working, last seen working... lifes pretty good
[glcas.git] / plugins / cron.php
index ca99309..5f53320 100644 (file)
@@ -15,18 +15,22 @@ class GLCASCron {
                global $CRON_CLASSES;
                
                echo "<html>";
+               echo "<table border=\"1\">";
                foreach($CRON_CLASSES as $crons) {
                        $calling = new $crons($this->config);
+                       echo "<tr><td>";
                        if(method_exists($crons, "cron")) {
-                               echo "<font color=\"green\">CRON: Calling $crons"."->cron:</font><br>";
-                               echo "<table><tr><td><font color=\"green\">$crons</font></td><td>";
+                               echo "<font color=\"green\" size=\"+1\">CRON: Calling cron for $crons</font></td><td>";
+                               echo "<table><tr><td>";
                                $calling->cron();
-                               echo "</td></tr></table>";
+                               echo "</td></tr></table></td></tr>";
                        } else {
-                               echo "<font color=\"red\">CRON: would call $crons"."->cron but it doesnt exist</font><br>";
+                               echo "<font color=\"red\">CRON: would call $crons"."->cron but it doesnt exist</font><br></td></tr>";
                        }
                        
+                       
                }
+               echo "</table>";
                echo "</html>";
        }