def job_dir(this, value):
    """Try to create job dir when access it"""
    ret = this.proc.workdir.joinpath(str(this.index + 1)).resolve()
    if not ret.is_dir():
        ret.mkdir(exist_ok=True)
    return ret
