PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /opt/sharedrads/guds_modules/deleters/
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
IP: 209.182.202.254
Choose File :

Url:
Dir : //opt/sharedrads/guds_modules/deleters/temp.py

"""Removes large cPanel files from ~userna5/tmp"""
from guds_modules.base import ModuleBase

REGEX = r".*\/Cpanel_Form_file[.]upload[.][0-9a-zA-Z]+$"


class Module(ModuleBase):
    """Removes large cPanel files from ~userna5/tmp"""

    def run_module(self, homedir):
        if file_list := self.find(
            f"{homedir}/tmp",
            prune_mail=False,
            regex=REGEX,
            mtime="+3",
            type="f",
        ):
            self.delete_items(file_list)
        return {}  # no email