diff options
author | Yellow <yellow@10gen.com> | 2007-11-25 07:18:39 +0000 |
---|---|---|
committer | Yellow <yellow@10gen.com> | 2007-11-25 07:18:39 +0000 |
commit | 4cacd150d30d2e1c9cef2c2c6dbf51d4a5fb784a (patch) | |
tree | a187b2801542d9f6ec047e515b590702bc0d2048 /bin | |
parent | ace493f36fbd61eec4bf6536ae59d4de5f3e2c47 (diff) | |
download | mongo-4cacd150d30d2e1c9cef2c2c6dbf51d4a5fb784a.tar.gz |
scripts
Diffstat (limited to 'bin')
-rw-r--r-- | bin/run.tcsh | 6 | ||||
-rwxr-xr-x | bin/start.tcsh | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/bin/run.tcsh b/bin/run.tcsh new file mode 100644 index 00000000000..7dfe611513c --- /dev/null +++ b/bin/run.tcsh @@ -0,0 +1,6 @@ + +while ( 1 == 1 ) + if ( -f log/run.log ) mv log/run.log log/run.log.1 + ./db/db run >& log/run.log +end +
\ No newline at end of file diff --git a/bin/start.tcsh b/bin/start.tcsh new file mode 100755 index 00000000000..476063b880f --- /dev/null +++ b/bin/start.tcsh @@ -0,0 +1,3 @@ +#!/bin/tcsh + +tcsh bin/run.tcsh >& /dev/null & |