Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,196 of 9,196 pages
About the help in other languages
All help pages

cronjob.ini [CronjobPart-view_count_nodes]

The settings of [CronjobPart-view_count_nodes] in cronjob.ini: Scripts

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/examples/ini-settings/cronjob/CronjobPart-view_count_nodes.md

On this page

cronjob.ini [CronjobPart-view_count_nodes]

The block [CronjobPart-view_count_nodes] of settings/cronjob.ini, with 1 setting(s).

The page views of every node that serves the installation (logfile.ini [ViewCountSettings] Nodes[];
doc/eng-us/guides/view-count-statistics.md): copy every node's access logs, then count the copies, both on the node
PrimaryCommand names only: php runcronjobs.php view_count_nodes, every 15 minutes or so. Without Nodes[] the
collect script does nothing and updateviewcount.php counts this node's log, as it always did.

Never edit settings/cronjob.ini itself: an update replaces it. Put the settings you change in an override, which wins over the shipped file:

  • settings/override/cronjob.ini.append.php for every siteaccess,
  • settings/siteaccess/<siteaccess>/cronjob.ini.append.php for one siteaccess,
  • extension/<extension>/settings/cronjob.ini.append.php in an extension (read when the extension is active).

Scripts

Default: a list of 2: viewcountcollect.php, updateviewcount.php.

<?php /* #?ini charset="utf-8"?
# settings/override/cronjob.ini.append.php
[CronjobPart-view_count_nodes]
# an empty "Scripts[]" first replaces the shipped list; without it the items are added
Scripts[]
Scripts[]=viewcountcollect.php
Scripts[]=updateviewcount.php
*/ ?>

Generated by ./console exp:help:examples from settings/cronjob.ini. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x