<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Copyright (c) 2010-2017 Evolveum and contributors
  ~
  ~ Licensed under the EUPL-1.2 or later.
  -->

<task oid="00000000-0000-0000-0000-000000000005"
      xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3">

    <name>Cleanup</name>
    <description>A system task that repeatedly checks for outdated objects (e.g. closed tasks, old audit records) and removes them.</description>
    <assignment id="1">
        <identifier>archetype</identifier>
        <targetRef oid="00000000-0000-0000-0000-000000000506" type="ArchetypeType" />
    </assignment>
    <ownerRef oid="00000000-0000-0000-0000-000000000002" type="UserType"/>
    <executionState>runnable</executionState>

    <binding>loose</binding>
    <schedule>
        <interval>86400</interval>
    </schedule>

    <activity>
        <work>
            <cleanup/>
        </work>
    </activity>
</task>
