NAME
mail_tempaddress_purge.pl - purge Mail::TempAddress::Address object when they expire
SYNOPSIS
mail_tempaddress_purge.pl directory [min_age] [-v]
DESCRIPTION
mail_tempaddress_addresses.pl is a simple frontend for Mail::TempAddress::Addresses::Purgeable intended to be run from cron on a regular basis.
When run the number of addresses present in the address directory before the purge and the number of addresses purged will be listed to the terminal.
ARGUMENTS
The only required argument is the directory in which the addresses are stored. This is the same as the argument to the Mail::TempAddress constructor. For safety it is recommended that this be a absolute directory path.
OPTIONS
A minimum time that each address has been expired for may be passed as an optional argument. The time may be in seconds or a freeform expression such as "1h30m" or "2m1w".
If -v
or --verbose
is passed then the addresses present will be listed to the terminal both before and after the purge.
AUTHOR
James FitzGibbon, <jfitz@CPAN.ORG>
COPYRIGHT
Copyright (c) 2003, James FitzGibbon. This program is free software; you may use/modify it under the same terms as Perl itself.