The useraudit.php cronjob
User audit log: removes the rows of expuser_audit older than audit.ini [UserAuditSettings] RetentionDays.
Entry point cronjobs/useraudit.php, code in kernel/private/classes/cronjobs/useraudit.php.
The code of cronjobs/useraudit.php.
When it runs
In the shipped settings/cronjob.ini it belongs to: the part infrequent, the part useraudit.
# 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 userauditAdd it to a part in an override:
# settings/override/cronjob.ini.append.php
[CronjobPart-infrequent]
Scripts[]=useraudit.php
*/ ?>Related
Generated by ./console exp:help:examples from cronjobs/useraudit.php, kernel/private/classes/cronjobs/useraudit.php, settings/cronjob.ini. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.