xolirc::Package proc process-all-logs (public)

 xolirc::Package[i] process-all-logs [ -overwrite overwrite ]

Defined in packages/xolirc/tcl/package-procs.tcl

Goes through all the log files and creates the respective xowiki Page.

Switches:
-overwrite
(defaults to "1") (optional)
In case that the page exists for the processing date, this parameter if overwrite it (1) or not (0).

Partial Call Graph (max 5 caller/called nodes):
%3

Testcases:
No testcase defined.
Source code:
#my instvar logs_path
set logs_path "/usr/local/eggdrop/html/"
foreach log [glob -nocomplain -directory $logs_path "openacs*_pg1.html"] {
    regexp {.*openacs(\d{8})_pg1\.html} $log match date
    ns_log notice "working on $date"
    ::xolirc::Package create-page-from-log -overwrite $overwrite -date $date
    
}
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: