def METHOD_NAME(job, *args, **kwargs):
    """
    Helper function to call the run method on a report. This is needed to get around the inability to pickle an instance
    method for queueing into the background processor.
    """
    job.start()
    module = ReportModule.objects.get(pk=job.object_id)
    report = module.reports.get(job.name)()
    try:
        report.run(job)
    except Exception:
        job.terminate(status=JobStatusChoices.STATUS_ERRORED)
        logging.error(f"Error during execution of report {job.name}")
    finally:
        # Schedule the next job if an interval has been set
        if job.interval:
            new_scheduled_time = job.scheduled + timedelta(minutes=job.interval)
            Job.enqueue(
                METHOD_NAME,
                instance=job.object,
                name=job.name,
                user=job.user,
                job_timeout=report.job_timeout,
                schedule_at=new_scheduled_time,
                interval=job.interval
            )