]> git.ipfire.org Git - thirdparty/AWStats.git/commitdiff
Some change to add scheduler management for update process
authoreldy <>
Sun, 20 Jun 2004 19:02:47 +0000 (19:02 +0000)
committereldy <>
Sun, 20 Jun 2004 19:02:47 +0000 (19:02 +0000)
Creating new config files can be done by copying an old one.

tools/webmin/awstats/schedule_stats.cgi

index b907ebbe72e8635ec57da4832173fb5f39c77654..46278ec5ffc414a5fc7c73abe42a6bdeccaefbae 100644 (file)
@@ -26,8 +26,8 @@ print "<br>\n";
 &foreign_require("logrotate", "logrotate-lib.pl");\r
 
 # For global update
-print "Update processes scheduled by a <b>cron</b> task :<br>";
-print "<table border width=100%>\n";
+print "<u>Update processes scheduled by a <b>cron</b> task :</u><br><br>";
+print "<table border width=100% cellpadding=4 cellspacing=2>\n";
 print "<tr $tb><td align=left>User</td>";
 print "<td>Task</td><td align=center>Active</td><td>Note on task</td><td>Action</td></tr>\n";
 
@@ -64,7 +64,7 @@ print "<br>\n";
 print "<a href=\"/cron/edit_cron.cgi?new=1\">Add an AWStats cron task to update all AWStats config files</a><br>";
 print "(You must add the command \"/usr/local/awstats/tools/awstats_updateall.pl now >/dev/null\")<br>\n";
 print "<br>\n";
-print "<a href=\"/cron/edit_cron.cgi?new=1\">Add an AWStats cron task to update this config files</a><br>\n";
+print "<a href=\"/cron/edit_cron.cgi?new=1\">Add an AWStats cron task to update config file $conf</a><br>\n";
 print "(You must add the command \"$config{'awstats'} -update -config=$conf >/dev/null\")<br>\n";
 print "<br>\n";
 
@@ -74,7 +74,7 @@ print "<br>\n";
 
 
 # For logrotate scheduling
-print "Update processes scheduled by a <b>logrotate</b> task :<br>";
+print "<u>Update processes scheduled by a <b>logrotate</b> task :</u><br><br>";
 print "<table border width=100%>\n";
 print "<tr $tb><td>Logrotate file</td>";
 print "<td>Task</td><td>Note on task</td><td>Action</td></tr>\n";
@@ -87,7 +87,6 @@ else {
     print "<tr><td colspan=4>Webmin logrotate module is not installed. It is required to setup logrotate scheduled tasks</td></tr>";
 }
 print "</table>";
-print "Add a logrotate for this file";
 
 print "<br>\n";