Initial commit of OpenSPARC T2 design and verification files.
[OpenSPARC-T2-DV] / tools / perl-5.8.0 / doc / MHonArc / resources / expireage.html
CommitLineData
86530b38
AT
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML//EN">
2<html>
3<head>
4<title>MHonArc Resources: EXPIREAGE</title>
5</head>
6<body>
7<!--x-rc-nav-->
8<table border=0><tr valign="top">
9<td align="left" width="50%">[Prev:&nbsp;<a href="excs.html">EXCS</a>]</td><td><nobr>[<a href="../resources.html#expireage">Resources</a>][<a href="../mhonarc.html">TOC</a>]</nobr></td><td align="right" width="50%">[Next:&nbsp;<a href="expiredate.html">EXPIREDATE</a>]</td></tr></table>
10<!--/x-rc-nav-->
11<hr>
12<h1>EXPIREAGE</h1>
13
14<!-- *************************************************************** -->
15<hr>
16<h2>Syntax</h2>
17
18<dl>
19
20<dt><strong>Envariable</strong></dt>
21<dd><p>
22<code>M2H_EXPIREAGE=</code><var>seconds</var>
23</p>
24</dd>
25
26<dt><strong>Element</strong></dt>
27<dd><p>
28<code>&lt;EXPIREAGE&gt;<br></code>
29<var>seconds</var><br>
30<code>&lt;/EXPIREAGE&gt;<br></code>
31</p>
32</dd>
33
34<dt><strong>Command-line Option</strong></dt>
35<dd><p>
36<code>-expireage </code><var>seconds</var>
37</p>
38</dd>
39
40</dl>
41
42<!-- *************************************************************** -->
43<hr>
44<h2>Description</h2>
45
46<p>EXPIREAGE specifies the time in seconds from the current
47time to determine if a message has expired. I.e. If the difference
48between the current time and the message time is greater
49than EXPIREAGE, the message is expired. Expired messages
50do not get added into an archive, and any archived
51expired messages will get automatically removed during
52an archive update.
53</p>
54
55<p>EXPIREAGE is specified in seconds. The following table
56shows common time periods in seconds:
57</p>
58
59<table cellspacing=1 border=1 cellpadding=4>
60<tr>
61<th>Time period</th><th>Equivalence in seconds</th>
62</tr>
63<tr valign=top align=center>
64<td>day</td><td>86400</td>
65</tr>
66<tr valign=top align=center>
67<td>week (7 days)</td><td>604800</td>
68</tr>
69<tr valign=top align=center>
70<td>month (30.5 days)</td><td>2635200</td>
71</tr>
72<tr valign=top align=center>
73<td>year (365 days)</td><td>31536000</td>
74</tr>
75</table>
76
77<dl>
78<dt><strong>NOTE</strong></dt>
79<dd><p>Setting EXPIREAGE to zero turns off the
80EXPIREAGE check.
81</p>
82</dd>
83</dl>
84
85<p>If you want to control expiration of messages based
86on a specific date, then see
87<a href="expiredate.html">EXPIREDATE</a>.
88</p>
89
90<!-- *************************************************************** -->
91<hr>
92<h2>Default Setting</h2>
93
94<p>0
95</p>
96
97<!-- *************************************************************** -->
98<hr>
99<h2>Resource Variables</h2>
100
101<p>N/A
102</p>
103
104<!-- *************************************************************** -->
105<hr>
106<h2>Examples</h2>
107
108<p>EXPIREAGE is useful for "message from the last ..." archives.
109For example, if you are archiving a mailing list with much traffic,
110you may want to have an archive that shows only messages from the
111last 7 days (week). Set set EXPIREAGE as follows: </p>
112
113<pre>
114<b>&lt;ExpireAge&gt;</b>
115604800
116<b>&lt;/ExpireAge&gt;</b>
117</pre>
118
119<!-- *************************************************************** -->
120<hr>
121<h2>Version</h2>
122
123<p>2.0
124</p>
125
126<!-- *************************************************************** -->
127<hr>
128<h2>See Also</h2>
129
130<p>
131<a href="expiredate.html">EXPIREDATE</a>
132</p>
133
134<!-- *************************************************************** -->
135<hr>
136<!--x-rc-nav-->
137<table border=0><tr valign="top">
138<td align="left" width="50%">[Prev:&nbsp;<a href="excs.html">EXCS</a>]</td><td><nobr>[<a href="../resources.html#expireage">Resources</a>][<a href="../mhonarc.html">TOC</a>]</nobr></td><td align="right" width="50%">[Next:&nbsp;<a href="expiredate.html">EXPIREDATE</a>]</td></tr></table>
139<!--/x-rc-nav-->
140<hr>
141<address>
142$Date: 2002/07/27 05:13:10 $ <br>
143<img align="top" src="../monicon.png" alt="">
144<a href="http://www.mhonarc.org/"
145><strong>MHonArc</strong></a><br>
146Copyright &#169; 1997-1998, <a href="http://www.earlhood.com/"
147>Earl Hood</a>, <a href="mailto:mhonarc@mhonarc.org"
148>mhonarc@mhonarc.org</a><br>
149</address>
150
151</body>
152</html>