| 1 |
.. cyrusman:: ptexpire(8) |
| 2 |
|
| 3 |
.. author: Nic Bernstein (Onlight) |
| 4 |
|
| 5 |
.. _imap-reference-manpages-systemcommands-ptexpire: |
| 6 |
|
| 7 |
============ |
| 8 |
**ptexpire** |
| 9 |
============ |
| 10 |
|
| 11 |
Program to expire pts cache DB entries on command. |
| 12 |
|
| 13 |
Synopsis |
| 14 |
======== |
| 15 |
|
| 16 |
.. parsed-literal:: |
| 17 |
|
| 18 |
**ptexpire** [**-C** *filename*] [**-E** *seconds*] [ *username* ...] |
| 19 |
|
| 20 |
Description |
| 21 |
=========== |
| 22 |
|
| 23 |
The **ptexpire** program sweeps the ``ptscache_db`` database, deleting |
| 24 |
entries older than the expiry duration, which defaults to 5400 seconds |
| 25 |
(3 hours). The expiry duration can be changed with the **-E** option. |
| 26 |
|
| 27 |
Alternatively, if it's passed a list of usernames it deletes just those |
| 28 |
usernames, immediately. |
| 29 |
|
| 30 |
**ptexpire** |default-conf-text| |
| 31 |
|
| 32 |
Options |
| 33 |
======= |
| 34 |
|
| 35 |
.. program:: ptexpire |
| 36 |
|
| 37 |
.. option:: -C config-file |
| 38 |
|
| 39 |
|cli-dash-c-text| |
| 40 |
|
| 41 |
.. option:: -E seconds, --expire-duration=seconds |
| 42 |
|
| 43 |
Set the expiry duration to *seconds*. |
| 44 |
|
| 45 |
Files |
| 46 |
===== |
| 47 |
|
| 48 |
/etc/imapd.conf |
| 49 |
|
| 50 |
See Also |
| 51 |
======== |
| 52 |
:cyrusman:`imapd.conf(5)` |