Документ взят из кэша поисковой машины. Адрес оригинального документа : http://dualopt1.cmm.msu.ru/bin/rdiff/TWiki/TWikiScripts?rev1=3&rev2=2
Дата изменения: Unknown
Дата индексирования: Fri Feb 28 21:43:47 2014
Кодировка:
%TOPICTITLE% (2 vs. 3) - TWiki
Welcome, Registration, and other StartingPoints; TWiki history & Wiki style; All the docs...
View   r3  >  r2  ...
TWikiScripts 3 - 2005-03-27 - Main.TWikiContributor
Line: 1 to 1
 

TWiki CGI and Command Line Scripts

Line: 16 to 16
 

Command-line

You must be cd'd to the twiki/bin directory to run the scripts from the command line. To avoid issues with file permissions, run the scripts as the web server user such as nobody or www.
Changed:
<
<
Parameters are passed using '-name' - for example,
>
>
Parameters are passed on the command line using '-name' - for example,
 
$ cd /usr/local/twiki/bin
$ save -topic MyWeb.MyTopic -user admin -action save -text "New text of the topic"
Line: 295 to 295
 

statistics

Refresh the WebStatistics topics in range of webs.
Parameter Description Default
Changed:
<
<
webs list of webs to run stats on none
>
>
webs comma-separated list of webs to run stats on all accessible webs
logdate YYYYMM to generate statistics for current month
 

twiki

Single-script interface to the functionality of all the other scripts. Experimental, not for production use. Read the code if you want to know more.

Revision 3r3 - 2005-03-27 - 13:14:15 - TWikiContributor
Revision 2r2 - 2005-03-27 - 13:14:15 - TWikiContributor
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.TWikiScripts
Syndicate this site RSSATOM