beat.web.backend.management.commands.cleanup_cache module

class beat.web.backend.management.commands.cleanup_cache.Command(stdout=None, stderr=None, no_color=False, force_color=False)[source]

Bases: django.core.management.base.BaseCommand

help = 'Cleans-up the cache, removing old files'
add_arguments(parser)[source]

Entry point for subclassed commands to add custom arguments.

handle(*ignored, **arguments)[source]

The actual logic of the command. Subclasses must implement this method.