1
0
mirror of https://github.com/e107inc/e107.git synced 2025-05-02 18:27:52 +02:00

Cron job details for later use.

This commit is contained in:
lonalore 2017-07-14 12:06:06 +02:00
parent ab7b685a30
commit 3fc3963d43

View File

@ -1209,7 +1209,7 @@ class cronScheduler
$where = 'cron_active = 1';
}
if($sql->select("cron", 'cron_function,cron_tab,cron_active', $where))
if($sql->select("cron", '*', $where))
{
while($row = $sql->fetch())
{
@ -1217,11 +1217,16 @@ class cronScheduler
$key = $class . "__" . $function;
$list[$key] = array(
'path' => $class,
'active' => $row['cron_active'],
'tab' => $row['cron_tab'],
'function' => $function,
'class' => $class,
'id' => $row['cron_id'],
'name' => $row['cron_name'],
'description' => $row['cron_description'],
'category' => $row['cron_category'],
'path' => $class,
'active' => $row['cron_active'],
'lastrun' => $row['cron_lastrun'],
'tab' => $row['cron_tab'],
'function' => $function,
'class' => $class,
);
}
}