Caution: This documentation is for eZ Publish legacy, from version 3.x to 6.x.
For 5.x documentation covering Platform see eZ Documentation Center, for difference between legacy and Platform see 5.x Architecture overview.

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.

Svitlana Shatokhina (26/03/2007 10:14 am)

Svitlana Shatokhina (26/03/2007 10:14 am)


Comments

There are no comments.