Movatterモバイル変換


[0]ホーム

URL:


BloomreachBloomreach
Hippo CMS

Bloomreach Documentation version

Bloomreach.com

Form Data Cleanup

Introduction

Goal

Schedule automatic cleanup of the form data stored in the content repository.

Background

Form data submitted to the site are stored in the repository under/formdata. To prevent the/formdata storage from growing indefinitely, a cleanup job can be configured with the repository scheduler that automatically purges the (temporary) data.

Configure the Form Data Cleanup Repository Job

Cleanup of oldhst:formdata nodes is done by theFormDataCleanupJob registered with therepository scheduler. It can be configured using theConsole at:

/hippo:configuration/hippo:modules/scheduler/hippo:moduleconfig/system/FormDataCleanup

The following configuration attributes are recognized:

  • minutestolive
    Time to live in minutes. Formdata nodes older than this will be deleted. The default value is 1440, i.e. 24 hours. A value of -1 means cleanup of formdata nodes is disabled.
  • excludepaths
    Specifies paths to exclude. Multiple exclusion paths can be configured by seperating them with a pipe (|). Formdata nodes below excluded paths are not deleted. Defaults to /formdata/permanent/.
  • batchsize
    Specifies how often (i.e. after everybatchsize nodes) the JCR session is saved while iterating through the form data nodes. The default value is100. A value between10 and1000 is recommended. This advanded option allows performance tuning in cases where a very large amount (i.e. millions) of nodes must be processed. Use only when you know what you are doing.

The job is run according to the configured cron expression in the cron trigger below the job node. At that time the formdata cleanup job runs by doing a search for nodes of type hst:formdata, then going through the result and deleting nodes older than the configured time to live, ignoring nodes below excluded paths.

If you want to change the schedule of the job, adjust the cron expression on the trigger. See the quartz cron trigger tutorial for instructions on the syntax.

Did you find this page helpful?
How could this documentation serve you better?
Cheers!
On this page
    Did you find this page helpful?
    How could this documentation serve you better?
    Cheers!

    [8]ページ先頭

    ©2009-2025 Movatter.jp