The viewcountcollect.php cronjob
Bring the access logs of every node that serves the installation to the node that counts the page views.
Entry point cronjobs/viewcountcollect.php, code in kernel/private/classes/cronjobs/viewcountcollect.php.
The code of cronjobs/viewcountcollect.php. The file cronjobs/viewcountcollect.php is one call to it.
Guide: doc/eng-us/guides/view-count-statistics.md
When it runs
In the shipped settings/cronjob.ini it belongs to: the part view_count_nodes, the part view_count_collect.
# run its part (as the user the web server runs as, from the installation root)
php runcronjobs.php view_count_nodes
./console exp:runcronjobs view_count_nodes
# run only this script
php runcronjobs.php viewcountcollectAdd it to a part in an override:
# settings/override/cronjob.ini.append.php
[CronjobPart-view_count_nodes]
Scripts[]=viewcountcollect.php
*/ ?>Related
Generated by ./console exp:help:examples from cronjobs/viewcountcollect.php, kernel/private/classes/cronjobs/viewcountcollect.php, settings/cronjob.ini. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.