diff --git a/conf/shh.config b/conf/shh.config index 5cb3396..c23d331 100644 --- a/conf/shh.config +++ b/conf/shh.config @@ -14,7 +14,14 @@ singularity { process { executor = 'slurm' - queue = 'short' + switch(task.time){ + case {it < 2.h}: + queue = 'short' + case {it > 2.h && it < 48.h}: + queue = 'medium' + case {it > 48.h}: + queue = 'long' + } } executor {