Apache logs + crnjob

Author Message

Marko Žmak

Sunday 27 March 2005 12:36:41 pm

I got the explanation how to use the apache logs in eZ to get statistics, but i still don't understand something...

In the cronjob.ini I have to put this:

Scripts[]=updateviewcount.php

Is this enough? Do I have to actitvate something else in the Linux crontab or somewhere else?

How does this mechanism work? Does it use the linux cron, or some internal eZ mechanism?

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Eivind Marienborg

Sunday 27 March 2005 11:55:07 pm

Yes, you have to add a command to run the runcronjobs.php in your crontab.

More info about it here:
http://www.ez.no/ez_publish/documentation/installation/the_cronjob_script

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 19:33:47
Script start
Timing: Jan 18 2025 19:33:47
Module start 'layout'
Timing: Jan 18 2025 19:33:47
Module start 'content'
Timing: Jan 18 2025 19:33:48
Module end 'content'
Timing: Jan 18 2025 19:33:48
Script end

Main resources:

Total runtime0.8008 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0065 589.3203152.6094
Module start 'layout' 0.00650.0028 741.929739.4141
Module start 'content' 0.00930.7894 781.3438534.1250
Module end 'content' 0.79870.0021 1,315.46888.1875
Script end 0.8008  1,323.6563 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.4493160.0002
Check MTime0.00150.1854160.0001
Mysql Total
Database connection0.00100.126210.0010
Mysqli_queries0.752994.0197540.0139
Looping result0.00060.0748520.0000
Template Total0.767395.820.3836
Template load0.00200.251420.0010
Template processing0.765395.560020.3826
Template load and register function0.00010.012110.0001
states
state_id_array0.00100.120510.0010
state_identifier_array0.00160.198820.0008
Override
Cache load0.00160.2014140.0001
Sytem overhead
Fetch class attribute can translate value0.00050.064320.0003
Fetch class attribute name0.00100.128040.0003
XML
Image XML parsing0.00100.122720.0005
class_abstraction
Instantiating content class attribute0.00000.000840.0000
General
dbfile0.00120.1516240.0001
String conversion0.00000.000940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 12
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs