Add check if job is already done
This commit is contained in:
@@ -25,6 +25,12 @@ fn main()
|
||||
let time = instance["time"].as_i64().unwrap();
|
||||
|
||||
let job_key = format!("{}/{}", fruit, time);
|
||||
|
||||
if benchmark_repository.is_job_done(&job_key)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
let job = benchmark_repository.create_job(job_key);
|
||||
|
||||
Command::new("sbatch")
|
||||
|
Reference in New Issue
Block a user