Scheduling the cleanup of triples

Set the frequency and the number of triple nodes to process per transaction by changing the componize.job.cleanup_triples.* parameters in the file.

The cleanup_triples parameter refers to a scheduled job that cleans up unbound triple nodes. Triple nodes missing either a subject or an object property value will be deleted in the process.
  1. Open the file.
  2. To change the frequency of the triple nodes processing, modify the value of the componize.job.cleanup_triples.cron parameter.
    componize.job.cleanup_triples.cron=0 0 1 ? * SUN
    By default, the job runs at 1 AM every Sunday. The involved scheduler is Quartz. The notation used by Quartz allows to specify seconds, day-of-month and year.
  3. To change the number of triple nodes to process per transaction, modify the value of the componize.job.cleanup_triples.nodes_per_transaction parameter.
    By default, the job processes as many triple nodes per transaction as set in componize.job.nodes_per_transaction. You can either replace ${componize.job.nodes_per_transaction} with a value of your choice or change the value of the componize.job.nodes_per_transaction parameter in the file.
  4. To explicitly enable or disable this job, modify the value of the componize.job.cleanup_triples.enabled parameter.

    The default value is set by the global componize.job.enabled parameter. The ${componize.job.enabled} value can be replaced by true or false.