The mailpreferences.php cronjob
E-mail preferences retention: consent log rows of people who are gone, expired confirmations, old suppression entries.
Entry point cronjobs/mailpreferences.php, code in kernel/private/classes/cronjobs/mailpreferences.php.
The code of cronjobs/mailpreferences.php.
When it runs
In the shipped settings/cronjob.ini it belongs to: the part infrequent, the part mailpreferences.
# run its part (as the user the web server runs as, from the installation root)
php runcronjobs.php infrequent
./console exp:runcronjobs infrequent
# run only this script
php runcronjobs.php mailpreferencesAdd it to a part in an override:
# settings/override/cronjob.ini.append.php
[CronjobPart-infrequent]
Scripts[]=mailpreferences.php
*/ ?>Related
Generated by ./console exp:help:examples from cronjobs/mailpreferences.php, kernel/private/classes/cronjobs/mailpreferences.php, settings/cronjob.ini. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.