def run_job(job_id):
    """Executes a job."""

    try:
        current_app.apscheduler.run_job(job_id)