From: eldy <>
Date: Sun, 20 Jun 2004 19:02:47 +0000 (+0000)
Subject: Some change to add scheduler management for update process
X-Git-Tag: AWSTATS_6_2_BETA~7
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63d8bcb8756d18a481fe35c4f3774a3ca6c62c60;p=thirdparty%2FAWStats.git
Some change to add scheduler management for update process
Creating new config files can be done by copying an old one.
---
diff --git a/tools/webmin/awstats/schedule_stats.cgi b/tools/webmin/awstats/schedule_stats.cgi
index b907ebbe..46278ec5 100644
--- a/tools/webmin/awstats/schedule_stats.cgi
+++ b/tools/webmin/awstats/schedule_stats.cgi
@@ -26,8 +26,8 @@ print "
\n";
&foreign_require("logrotate", "logrotate-lib.pl");
# For global update
-print "Update processes scheduled by a cron task :
";
-print "
\n";
+print "Update processes scheduled by a cron task :
";
+print "\n";
print "| User | ";
print "Task | Active | Note on task | Action |
\n";
@@ -64,7 +64,7 @@ print "
\n";
print "Add an AWStats cron task to update all AWStats config files
";
print "(You must add the command \"/usr/local/awstats/tools/awstats_updateall.pl now >/dev/null\")
\n";
print "
\n";
-print "Add an AWStats cron task to update this config files
\n";
+print "Add an AWStats cron task to update config file $conf
\n";
print "(You must add the command \"$config{'awstats'} -update -config=$conf >/dev/null\")
\n";
print "
\n";
@@ -74,7 +74,7 @@ print "
\n";
# For logrotate scheduling
-print "Update processes scheduled by a logrotate task :
";
+print "Update processes scheduled by a logrotate task :
";
print "\n";
print "| Logrotate file | ";
print "Task | Note on task | Action |
\n";
@@ -87,7 +87,6 @@ else {
print "| Webmin logrotate module is not installed. It is required to setup logrotate scheduled tasks |
";
}
print "
";
-print "Add a logrotate for this file";
print "
\n";