Index: trunk/FACT++/www/schedule/save.php
===================================================================
--- trunk/FACT++/www/schedule/save.php	(revision 18794)
+++ trunk/FACT++/www/schedule/save.php	(revision 18797)
@@ -181,4 +181,5 @@
         $save = $t;
         $id = 0;
+        $exclusive = 0;
     }
 
@@ -189,5 +190,5 @@
 
     if ($d==FALSE)
-        die("Could not parse time '".$t."' with date_parse");
+        die("Could not parse time '".$t."' with date_parse.");
 
     // Check all but the last task in a measurement whether
@@ -196,9 +197,9 @@
     {
         if ($measurements[$m]['fIsUnlimited']==true)
-            die("Unlimited task '".$measurements[$m]['fMeasurementTypeName']."' detected before end of observation\n[".$last."|".($id-1)."]");
+            die("Unlimited task '".$measurements[$m]['fMeasurementTypeName']."' detected before end of observation.\n[".$last."|".($id-1)."]");
     }
 
     if ($last>$t)
-        die("Times not sequential\n[".$last."|".$t."]");
+        die("Times not sequential.\n[".$last."|".$t."]");
 
     $last = $t;
@@ -207,4 +208,13 @@
     $s = $row[2]; // source
     $v = $row[3]; // value
+
+    // Check if measurement is exclusive
+    if ($measurements[$m]['fIsExclusive']==true || $exclusive>0)
+    {
+        if ($id>0)
+            die("Task '".$measurements[$m]['fMeasurementTypeName']."' must be scheduled exclusively.\n[".$t."|".$id."]");
+
+        $exclusive = $m+1;
+    }
 
     // Check if task need source or must not have a source
