Changes

Jump to navigation Jump to search
948 bytes added ,  07:35, 9 November 2008
no edit summary
Line 74: Line 74:        +
== Usage ==
 +
You can use to LIVE logs or to proccess existing logs. The default allow to live logs in real time!
    +
cd /home/e-smith/files/ibays/surftrackr/html/utils
 +
python2.4 surftrackr-livelog.py
 +
 +
The you can go to LIVE page and click at '''GO''' to see what happens.
 +
 +
If you want to proccess existing logs change LIVE_LOGGING to False and DATA_FROM_LOG to True
 +
 +
Then run
 +
 +
cd /home/e-smith/files/ibays/surftrackr/html/media
 +
python2.4 logfiles.py
 +
 +
You can set a cron job to do this at 5 or 10 minutes interval. The first time run this manually because Surftrackr will process a lot of old logs info.
 +
 +
It is VERY IMPORTANT to run the above script with python2.4 and NOT with python. Also it is very important to change directory to the script before runing. Do NOT run as python2.4 /home/e-smith/files/ibays/surftrackr/html/media/logfiles.py. Change to dir before run.
 +
 +
As [this doc say http://surftrackr.net/blog/view/28/multi-user-surftrackr/]
          
[[Category: Contrib]]
 
[[Category: Contrib]]
985

edits

Navigation menu