diff options
author | Peter Thoeny <web-hurd@gnu.org> | 2001-09-14 10:15:39 +0000 |
---|---|---|
committer | Peter Thoeny <web-hurd@gnu.org> | 2001-09-14 10:15:39 +0000 |
commit | b1118ab23d2d4c2066ec4a56b725365c45e4ea08 (patch) | |
tree | 952f226d3c33013080c67bb630a0f20f30ceb7ea /Trash | |
parent | 2299a1f144a93aebf7d0e178dacaebdbaf641dbe (diff) |
none
Diffstat (limited to 'Trash')
-rw-r--r-- | Trash/MonitoringSiteActivity.mdwn | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Trash/MonitoringSiteActivity.mdwn b/Trash/MonitoringSiteActivity.mdwn index a3366597..b9b97ffb 100644 --- a/Trash/MonitoringSiteActivity.mdwn +++ b/Trash/MonitoringSiteActivity.mdwn @@ -33,14 +33,14 @@ The above line will call mailnotify at 15 minutes and 45 minutes past every hour **For ISP installations:** Many ISPs don't allow hosted accounts direct cron access, as it's often used for things that can heavily load the server. Workaround scripts are available. -**On Windows NT/2000:** You can use a scheduled task.<br />_(COMMENT: AT on an NT machine is pretty limited. Microsoft have a page about [replacements](http://www.microsoft.com/ntserver/nts/exec/vendors/freeshare/Maintnce.asp#cron). I am trying out [cron120.zip](ftp://ftp.omnitrend.com/pub/windowsNT/cron120.zip) [[Main/MartinCleaver]] - 22 Feb 2001)_ +**On Windows NT/2000:** You can use a scheduled task. **_Note:_** AT on an NT machine is pretty limited. Microsoft has a [replacement](http://www.microsoft.com/ntserver/partners/findoffering/serversolutions/Maintnce.asp#cron). ## <a name="Site_Usage_Statistics"> Site Usage Statistics </a> ### <a name="Configuring_for_Automatic_Operat"> Configuring for Automatic Operation </a> * You can automatically generate usage statistics for all webs. To enable this: - * Make sure variable `$doLogTopicView, $doLogTopicSave and $doLogTopicUpload` in `wikicfg.pm` are set. This will generate log entries in file `twiki/data/log<date>.txt` . + * Make sure variable `$doLogTopicView, $doLogTopicSave and $doLogTopicUpload` in `TWiki.cfg` are set. This will generate log entries in file `twiki/data/log<date>.txt` . * Topic [[WebStatistics]] must be present in all webs where you want to have statistics. You can use the topic in the Main web as a template. * Call the `twiki/bin/statistics` script from a cron job, once a day is recommended. This will update the [[WebStatistics]] topics in all webs. * **_Attention:_** The script must run as the same user as the CGI scripts are running, which is user `nobody` on most systems. Example crontab entry: <br />`0 0 * * * (cd /path/to/TWiki/bin; ./statistics >/dev/null 2>&1)` @@ -48,9 +48,9 @@ The above line will call mailnotify at 15 minutes and 45 minutes past every hour ### <a name="Generating_Statistics_Manually_b"> </a> Generating Statistics Manually by URL -* * The `twiki/bin/statistics` script can also be executed as a CGI script, just enter the URL in your browser. Examples: - * Update current month for all webs: <br />`http://mydomain.com/twiki/bin/statistics` - * Update current month for Main web only: <br />`http://mydomain.com/twiki/bin/statistics/Main` - * Update January 2000 for Main web: <br />`http://mydomain.com/twiki/bin/statistics/Main?logdate=200001` +* The `twiki/bin/statistics` script can also be executed as a CGI script, just enter the URL in your browser. Examples: + * Update current month for all webs: <br />`http://mydomain.com/twiki/bin/statistics` + * Update current month for Main web only: <br />`http://mydomain.com/twiki/bin/statistics/Main` + * Update January 2000 for Main web: <br />`http://mydomain.com/twiki/bin/statistics/Main?logdate=200001` -- [[PeterThoeny]] - 16 Mar 2001 <br /> -- [[MikeMannix]] - 01 Sep 2001 |