Author: eallen
Date: 2008-11-21 12:03:19 -0500 (Fri, 21 Nov 2008)
New Revision: 2863
Modified:
mgmt/trunk/cumin/python/cumin/job.strings
Log:
Automatically update the job output every 5 seconds when viewing the tail.
Modified: mgmt/trunk/cumin/python/cumin/job.strings
===================================================================
--- mgmt/trunk/cumin/python/cumin/job.strings 2008-11-21 16:22:37 UTC (rev 2862)
+++ mgmt/trunk/cumin/python/cumin/job.strings 2008-11-21 17:03:19 UTC (rev 2863)
@@ -356,8 +356,10 @@
}
function outputEnd() {
var tarea = document.getElementById("job_output");
- if (tarea)
+ if (tarea) {
scrollToEnd(tarea);
+ setTimeout("get_job_output()", 5000);
+ }
}
[JobOutput.html]