summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSiddharth Ravikumar <sravik@bgsu.edu>2015-08-24 12:22:29 -0400
committerSiddharth Ravikumar <sravik@bgsu.edu>2015-08-24 12:22:29 -0400
commitf6338fa3808e45ddf294ae13a3bbeb78b0202982 (patch)
treee456568e8c5eb769caaa588d072db681abeee0b9
parent4b03bf3215c851d920ceb208cbec9dc575c144a5 (diff)
updated combox.cbox.run_cb.
Now, the first node monitor does the housekeeping thing on the node directories.
-rw-r--r--combox/cbox.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/combox/cbox.py b/combox/cbox.py
index f998079..b1a9ca0 100644
--- a/combox/cbox.py
+++ b/combox/cbox.py
@@ -68,6 +68,9 @@ def run_cb(config):
nd_monitors.append(nd_monitor)
nd_observers.append(nd_observer)
+ # Make the first node monitor do the housekeeping.
+ nd_monitors[0].housekeep()
+
print "Hit Ctrl-C to quit."
try:
while True: