InternalDraftsDuration

Summary

Sets how long an internal draft can exist in the system before it is considered old and can be removed.

Usage

 

InternalDraftsDuration[days]=number_of_days
InternalDraftsDuration[hours]=number_of_hours
InternalDraftsDuration[minutes]=number_of_minutes
InternalDraftsDuration[seconds]=number_of_seconds

Description

Use this setting to specify the number of days, hours, minutes and seconds before an internal draft is considered old and can be removed. Note that the "internal_drafts_cleanup.php" cronjob script must be run periodically for this setting to have any effect.

Examples

Example 1

 

InternalDraftsDuration[]
InternalDraftsDuration[days]=0
InternalDraftsDuration[hours]=20
InternalDraftsDuration[minutes]=0
InternalDraftsDuration[seconds]=0


With this configuration, the "internal_drafts_cleanup.php" cronjob script will remove untouched drafts that have been in the system for over 20 hours.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2013 eZ Systems AS (except where otherwise noted). All rights reserved.