mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 14:13:29 +00:00
Call the right function to refresh background info
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user