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

clusterpurge.php cronjob

Purge expired cluster storage entries from the database backend.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/examples/cronjobs/clusterpurge.md

On this page

The clusterpurge.php cronjob

Purge expired cluster storage entries from the database backend.

Entry point cronjobs/clusterpurge.php, code in kernel/private/classes/cronjobs/clusterpurge.php.

The code of cronjobs/clusterpurge.php, moved into a class (#207 stage 1). The file cronjobs/clusterpurge.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 cluster_maintenance.

# run its part (as the user the web server runs as, from the installation root)
php runcronjobs.php cluster_maintenance
./console exp:runcronjobs cluster_maintenance
# run only this script
php runcronjobs.php clusterpurge

Add it to a part in an override:

<?php /* #?ini charset="utf-8"?
# settings/override/cronjob.ini.append.php
[CronjobPart-cluster_maintenance]
Scripts[]=clusterpurge.php
*/ ?>

Generated by ./console exp:help:examples from cronjobs/clusterpurge.php, kernel/private/classes/cronjobs/clusterpurge.php, 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