Delete old job directory automatically
[jabaws.git] / conf / Engine.local.properties
index 2f211e8..71a8174 100644 (file)
@@ -16,7 +16,18 @@ local.tmp.directory=jobsout
 \r
 # Enable/disable cluster statistics collector\r
 local.stat.collector.enable=true\r
+# Frequency of statistics collecting (in minutes)\r
+# normal rate: once a date = 24 * 60 = 1440\r
+local.stat.collector.update.frequency=1\r
 \r
 # Maximum amount of time the job is considered running in hours\r
 # Optional defaults to 24 hours\r
-local.stat.maxruntime=24
\ No newline at end of file
+local.stat.maxruntime=24\r
+\r
+# Maximum amount of time the job directory is living (in hours), \r
+# -1 means the directories are never deleted\r
+# Defaults is one week, i.e. 168 hours\r
+local.jobdir.maxlifespan=168\r
+# Frequency of cleaning job directory (in minutes)\r
+# normal rate: once a date = 24 * 60 = 1440\r
+local.jobdir.cleaning.frequency=1\r