Difference: TWikiScripts (2 vs. 3)

Revision 327 Mar 2005 - 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.
 
Pixeon Medical Systems - Todos os direitos reservados. 2020
http://www.pixeon.com.br/