xolirc::Package proc process-all-logs (public)
xolirc::Package process-all-logs [ -overwrite overwrite ]
Defined in /var/www/openacs.org/packages/xolirc/tcl/package-procs.tcl
Goes through all the log files and creates the respective xowiki Page.
- Switches:
- -overwrite (optional, defaults to
"1"
)- In case that the page exists for the processing date, this parameter if overwrite it (1) or not (0).
- 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