- don't drop TABLE_PANEL_DISKSPACE and TABLE_PANEL_DISKSPACE_ADMINS (used in traffic-cron);

- using correct variable for sql-query in getNextCronjobs();
- let includeCronjobs() return the list of crons to run because of all the global variables;
- include required classes/functions to cronfiles;
This commit is contained in:
Michael Kaufmann (d00p)
2010-01-27 07:47:51 +00:00
parent 3e09f51686
commit ddde0f7aff
6 changed files with 28 additions and 13 deletions

View File

@@ -17,7 +17,13 @@
include_once(dirname(__FILE__) . '/../lib/cron_init.php');
includeCronjobs($debugHandler);
$jobs_to_run = includeCronjobs($debugHandler, $pathtophpfiles);
foreach($jobs_to_run as $cron)
{
require_once($cron);
}
fwrite($debugHandler, 'Cronfiles have been included' . "\n");
/*