import logging

log = logging.getLogger(__name__)


def run(job):
    try:
        job.run()
    except:  # cotterpin:expect
        log.warning("job failed")


def run_all(jobs):
    for job in jobs:
        try:
            job.run()
        except BaseException:  # cotterpin:expect
            continue
