Commit 6570fee2 authored by Dillenn Terumalai's avatar Dillenn Terumalai
Browse files

// WIP

parent 7f9270d4
Pipeline #2354 passed with stage
in 6 seconds
......@@ -107,7 +107,7 @@ class SlurmConnector implements ClusterInterface
event(new JobCancelled($clusterJob, $job['datetime']));
$jobClass->onCancel($clusterJob);
}
$clusterJob->update(Arr::except($job, ['event']));
});
}
......@@ -246,7 +246,7 @@ EOF",
$sudoUser = config('laravel-cluster.connections.slurm.sudo_account');
if(!is_null($sudoUser)) {
$process = Process::fromShellCommandline("sudo -u $sudoUser --chdir=/tmp sbatch --parsable $payload");
$process = Process::fromShellCommandline("sudo -u $sudoUser sbatch --chdir=/tmp --parsable $payload");
} else {
$process = Process::fromShellCommandline("sbatch --chdir=/tmp --parsable $payload");
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment