Call the right function to refresh background info

This commit is contained in:
Jamie Cameron
2010-09-05 22:02:30 -07:00
parent 281d35f915
commit 429302e112
2 changed files with 2 additions and 2 deletions

View File

@@ -355,7 +355,7 @@ sub setup_collectinfo_job
&foreign_require("webmincron");
my $step = $config{'collect_interval'};
if ($step ne 'none') {
# Setup webmin cron
# Setup webmin cron (removing old classic cron job)
$step ||= 5;
my $cron = { 'module' => $module_name,
'func' => 'scheduled_collect_system_info',

View File

@@ -27,7 +27,7 @@ if ($in{'interval_def'}) {
&unlink_file($system_status::collected_info_file);
}
else {
&system_logged($system_status::systeminfo_cron_cmd);
&system_status::scheduled_collect_system_info();
}
&webmin_log("status");