The internal_drafts_cleanup.php cronjob
Remove internal drafts that exceed the configured age limit.
Entry point cronjobs/internal_drafts_cleanup.php, code in kernel/private/classes/cronjobs/internal_drafts_cleanup.php.
The code of cronjobs/internal_drafts_cleanup.php, moved into a class (#207 stage 1). The file cronjobs/internal_drafts_cleanup.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 default part ([CronjobSettings], runcronjobs.php without a part).
# run its part (as the user the web server runs as, from the installation root)
php runcronjobs.php
./console exp:runcronjobs
# run only this script
php runcronjobs.php internal_drafts_cleanupAdd it to a part in an override:
# settings/override/cronjob.ini.append.php
[CronjobPart-frequent]
Scripts[]=internal_drafts_cleanup.php
*/ ?>Related
Generated by ./console exp:help:examples from cronjobs/internal_drafts_cleanup.php, kernel/private/classes/cronjobs/internal_drafts_cleanup.php, settings/cronjob.ini. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.