diff --git a/config/acme/machines/config_batch.xml b/config/acme/machines/config_batch.xml
index dbec260b8f5..b20876be00a 100644
--- a/config/acme/machines/config_batch.xml
+++ b/config/acme/machines/config_batch.xml
@@ -38,7 +38,8 @@
qsub
(\d+)
- --dependencies
+ --dependencies jobid
+ :
%H:%M:%s
-M
@@ -58,7 +59,8 @@
qsub
#COBALT
(\d+)
- --dependencies
+ --dependencies jobid
+ :
-M
@@ -77,7 +79,8 @@
<
#BSUB
<(\d+)>
- -w 'done(jobid)'
+ -w 'ended(jobid)'
+ &&
%H:%M
-u
@@ -103,7 +106,8 @@
qsub
#PBS
^(\S+)$
- -W depend=afterok:jobid
+ -W depend=afterany:jobid
+ :
%H:%M:%S
-M
-m
@@ -127,7 +131,8 @@
msub
#MSUB
(\d+)$
- -W depend=afterok:jobid
+ -W depend=afterany:jobid
+ :
%H:%M:%S
-M
-m
@@ -149,7 +154,8 @@
msub
#MSUB
(\d+)$
- -l depend=jobid
+ -l depend=jobid
+ :
%H:%M:%S
-V
@@ -172,7 +178,8 @@
sbatch
#SBATCH
(\d+)$
- --dependency=afterok:jobid
+ --dependency=afterany:jobid
+ :
%H:%M:%S
--mail-user
--mail-type
@@ -454,8 +461,10 @@
template.st_archive
1
-
- case.run or case.test
+
+ case.run case.test
$DOUT_S
diff --git a/config/xml_schemas/config_batch.xsd b/config/xml_schemas/config_batch.xsd
index 8983bd0504d..e1e8dbd6654 100644
--- a/config/xml_schemas/config_batch.xsd
+++ b/config/xml_schemas/config_batch.xsd
@@ -14,6 +14,7 @@
+
@@ -57,9 +58,12 @@
+ a previous job has completed (possibly unsuccessfully) -->
+
+
+