# --
# Kernel/Config/GenericAgentOldTickets.pm - config file of generic agent
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see 
# the enclosed file COPYING for license information (GPL). If you 
# did not receive this file, see http://www.gnu.org/licenses/gpl.txt.
# --

package Kernel::Config::GenericAgentOldTickets;

use strict;
use vars qw($VERSION @ISA @EXPORT %Jobs);
require Exporter;
@ISA = qw(Exporter);
@EXPORT = qw(%Jobs);  

# -----------------------------------------------------------------------
# config options
# -----------------------------------------------------------------------
%Jobs = (
   # --
   # [name of job] -> send escalation notifications 
   # --
#   'send escalation notifications' => {
#      Escalation => 1,  
#      # new ticket properties
#      New => {
#          Module => 'Kernel::System::GenericAgent::NotifyAgentGroupOfCustomQueue',
#      },
#   },
   # insert your jobs (see Kernel/Config/GenericAgent.pm.examples)

   'DeleteOldClosedTickets' => {
      # get all tickets with these properties
      States => ['closed successful', 'closed unsuccessful'],
      # tickets older then 3 month (in minutes)
      TicketCreateTimeOlderMinutes => 3 * 30 * 24 * 60,
      # new ticket properties (no option is required,
      # use just the options which should be changed!)
      New => {
          Module => 'Kernel::System::GenericAgent::DeleteOldClosedTickets',
          AgeInDays => 90,
          DeleteReally => 0,
      },
   },



);
# -----------------------------------------------------------------------
# end of config options
# -----------------------------------------------------------------------
1;
