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.

DraftsDuration

Summary

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

Usage

 

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

Description

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

Examples

Example 1

 

DraftsDuration[]
DraftsDuration[days]=30
DraftsDuration[hours]=0
DraftsDuration[minutes]=0
DraftsDuration[seconds]=0


With this configuration, the "old_drafts_cleanup.php" cronjob script will remove drafts that have been in the system for over 30 days.

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

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


Comments

There are no comments.