NAME
expire -- expire Minivend session files and databases
VERSION
1.0
SYNOPSIS
expire [-ra] [-e expr] [-c catalog] [-d dir] [sessiondb]
DESCRIPTION
Minivend's expire expires the various session database and temporary files used by the MiniVend daemon.
If the program tmpwatch is available, it is called with the appropriate arguments. Otherwise, MiniVend will remove all files itself with a recursive routine.
OPTIONS
- -c name
-
Expires the catalog
nameaccording to its settings. Removes all temporary files that are in a subdirectory one level below the directory itself. - -d dir
-
Sets the directory that will be checked for session files and/or temporary files.
- -e spec
-
Accepts a Minivend expire time setting like "6 hours", "3 days", etc. The expire time is applied directly to sessions, and may be padded for temporary files.
SEE ALSO
mvdocs(8), expireall(1), http://www.minivend.com
AUTHOR
Mike Heins, <mikeh@minivend.com>
_EoP_ s{.*\n(#(.*)~_~(\w+)~_~(.*))}{$2 . doit($3) . "$4\n$1"}eg; my $file = $0; $file =~ s/\.PL$//; open(OUT, ">$file") or die "Create $file: $!\n"; print OUT $_; }