The updateviewcount.php cronjob
Count the page views of the web server's access logs into the view counter (ezview_counter).
Entry point cronjobs/updateviewcount.php, code in kernel/private/classes/cronjobs/updateviewcount.php.
The code of cronjobs/updateviewcount.php, moved into a class (#207 stage 1). The file cronjobs/updateviewcount.php is one call to it.
Guide: doc/eng-us/bc/6.0/cli_cronjob_view_abstractions.md
When it runs
In the shipped settings/cronjob.ini it belongs to: the part view_count_nodes, the part view_count_copies.
# 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 updateviewcountAdd it to a part in an override:
# settings/override/cronjob.ini.append.php
[CronjobPart-view_count_nodes]
Scripts[]=updateviewcount.php
*/ ?>Related
Generated by ./console exp:help:examples from cronjobs/updateviewcount.php, kernel/private/classes/cronjobs/updateviewcount.php, settings/cronjob.ini. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.