The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

clean_search_results.pl - Script to cleanup the results directory of stale results

SYNOPSIS

 # From the command line
 
 # Use default 30 minute threshold
 $ perl clean_search_results.pl --website_dir=/path/to/mysite
 
 # Use 45 minute threshold
 $ perl clean_search_results.pl --website_dir=/path/to/mysite --minutes=45
 
 # Use the environment variable and the default 30 minute threshold
 $ export OPENINTERACT2=/path/to/mysite
 $ perl clean_search_results.pl
 
 # From a cron job - run every hour at 45 minutes past.
 45 * * * * perl /path/to/mysite/script/clean_search_results.pl --website_dir=/path/to/mysite
 

DESCRIPTION

Simple script -- just scan the entries in the results directory and get rid of the ones older than x (default: 30) minutes.

SEE ALSO

OpenInteract2::ResultsManage

OpenInteract2::Manual::SearchResults

COPYRIGHT

Copyright (c) 2001-2003 Chris Winters. All rights reserved.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHORS

Chris Winters <chris@cwinters.com>