Andrew Johnson > Helios-2.61 > helios_log_clean.pl

Download:
Helios-2.61.tar.gz

Annotate this POD

Website

CPAN RT

Open  0
View/Report Bugs
Source   Latest Release: Helios-2.82

NAME ^

helios_log_clean.pl - Clean old log and history entries from the Helios database

SYNOPSIS ^

helios_log_clean.pl [--days=<days>] [--silent]

DESCRIPTION ^

Use helios_log_clean.pl to delete old entries from the log and job history in the Helios database (helios_log_tb and helios_job_history_tb, respectively).

COMMAND OPTIONS ^

--days

Specify the number of days of logs you wish to keep using the --days option. If not specified, logs and job history from the past 7 days are kept. Older entries will be deleted.

--silent

In silent mode, helios_log_clean.pl will only print output if an error occurs. Useful for running from cron.

--help

Print this help.

AUTHOR ^

Andrew Johnson, <lajandy at cpan dotorg>

COPYRIGHT AND LICENSE ^

Copyright (C) 2008-9 by CEB Toolbox, Inc.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.0 or, at your option, any later version of Perl 5 you may have available.

WARRANTY ^

This software comes with no warranty of any kind.

syntax highlighting: