def METHOD_NAME():
    """This task should be run periodically.
    Default config sets up schedule using
    :data:`DEFAULT_CLEANUP_SCHEDULE`. `CELERYBEAT_SCHEDULE` key is
    :data:`CLEANUP_SCHEDULE_ID`.
    """
    uploads = current_app.extensions["uploads"]
    uploads.clear_stalled_files()