duration

Description

The duration placeholder represents a length of time.

Syntax

duration::=
forever | disabled | number{s[econds] | mi[nutes] | h[ours] | d[ays] | w[eeks] | 
mo[nths] | y[ears]}

Semantics

forever

Specifies that the duration is unlimited.

disabled

Specifies no duration. This value is not legal for the --waittime option in database storage selectors.

number

Specifies the duration in terms of an integer value of temporal units. To avoid quoting you cannot include a space between number and the value that follows it. For example, 3days is a legal value, but 3 days is not. The value 3" days" is valid.

Example

Examples of duration values include the following:

10minutes
forever
30" sec"
1y