summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authoryellow <yellow@10gen.com>2008-01-24 16:09:24 +0000
committeryellow <yellow@10gen.com>2008-01-24 16:09:24 +0000
commit573b11ecd4c9592f4199f9c6f416a372e540765e (patch)
treef51bb3283ac044d761dbfaeff58f9171730ca446 /bin
parentda8ecf472130fa901330d34e38270d0e84779170 (diff)
downloadmongo-573b11ecd4c9592f4199f9c6f416a372e540765e.tar.gz
prebind
Diffstat (limited to 'bin')
-rw-r--r--bin/run.tcsh8
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/run.tcsh b/bin/run.tcsh
index 7dfe611513c..95b79bb81f2 100644
--- a/bin/run.tcsh
+++ b/bin/run.tcsh
@@ -1,6 +1,14 @@
while ( 1 == 1 )
if ( -f log/run.log ) mv log/run.log log/run.log.1
+ if ( -f log/run.log1 ) mv log/run.log log/run.log.2
+ if ( -f log/run.log2 ) mv log/run.log log/run.log.3
+ if ( -f log/run.log3 ) mv log/run.log log/run.log.4
+ if ( -f log/run.log4 ) mv log/run.log log/run.log.5
+ if ( -f log/run.log5 ) mv log/run.log log/run.log.6
+ if ( -f log/run.log6 ) mv log/run.log log/run.log.7
+
./db/db run >& log/run.log
+ sleep 2
end
\ No newline at end of file