HEX
Server: Apache
System: Linux vps.rockyroadprinting.net 4.18.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
User: rockyroadprintin (1011)
PHP: 8.2.29
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //opt/imunify360/venv/lib/python3.11/site-packages/defence360agent/mr_proper/__init__.py
"""
This package contains the definitions for cleaners. A cleaner can be
used to delete old files, database entries, etc.

All cleaners:

- inherit from BaseCleaner (implement the interface)

- should be used in the MrProper plugin to have any effect
"""
from abc import ABC, abstractmethod


class BaseCleaner(ABC):
    @property
    @classmethod
    @abstractmethod
    def PERIOD(cls):
        pass

    @classmethod
    @abstractmethod
    async def cleanup(cls):
        pass