Call the right function to refresh background info
authorJamie Cameron <jcameron@webmin.com>
Mon, 6 Sep 2010 05:02:30 +0000 (22:02 -0700)
committerJamie Cameron <jcameron@webmin.com>
Mon, 6 Sep 2010 05:02:30 +0000 (22:02 -0700)
system-status/system-status-lib.pl
webmin/change_status.cgi

index 8dc234e..19df43f 100755 (executable)
@@ -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',
index 3009901..396618b 100755 (executable)
@@ -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");