def METHOD_NAME(self, job):
    # OAR batch submission mode needs full path to the job script
    job_script_fullpath = os.path.join(job.workdir, job.script_filename)
    # OAR needs -S to submit job in batch mode
    cmd = f'oarsub -S {job_script_fullpath}'
    completed = _run_strict(cmd, timeout=self._submit_timeout)
    jobid_match = re.search(r'.*OAR_JOB_ID=(?P<jobid>\S+)',
                            completed.stdout)
    if not jobid_match:
        raise JobSchedulerError('could not retrieve the job id '
                                'of the submitted job')
    job._jobid = jobid_match.group('jobid')
    job._submit_time = time.time()