git://git.onelab.eu
/
myplc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
490e47f
)
vacuum the DB every night
author
Mark Huang
<mlhuang@cs.princeton.edu>
Mon, 22 May 2006 21:12:17 +0000
(21:12 +0000)
committer
Mark Huang
<mlhuang@cs.princeton.edu>
Mon, 22 May 2006 21:12:17 +0000
(21:12 +0000)
plc.d/crond
patch
|
blob
|
history
diff --git
a/plc.d/crond
b/plc.d/crond
index
5bb5ba7
..
5fb4120
100755
(executable)
--- a/
plc.d/crond
+++ b/
plc.d/crond
@@
-7,7
+7,7
@@
# Mark Huang <mlhuang@cs.princeton.edu>
# Copyright (C) 2006 The Trustees of Princeton University
#
# Mark Huang <mlhuang@cs.princeton.edu>
# Copyright (C) 2006 The Trustees of Princeton University
#
-# $Id: crond,v 1.
1 2006/04/06 21:51:5
9 mlhuang Exp $
+# $Id: crond,v 1.
2 2006/04/25 21:18:1
9 mlhuang Exp $
#
# Source function library and configuration
#
# Source function library and configuration
@@
-34,6
+34,7
@@
HOME=/
*/5 * * * * root gen-slices-xml-05.py
*/15 * * * * root gen-sites-xml.py
*/15 * * * * root gen-static-content.py
*/5 * * * * root gen-slices-xml-05.py
*/15 * * * * root gen-sites-xml.py
*/15 * * * * root gen-static-content.py
+5 5 * * * root vacuumdb -U postgres --all --analyze --quiet
EOF
# Run them once at startup
EOF
# Run them once at startup
@@
-43,6
+44,8
@@
EOF
check
gen-static-content.py
check
check
gen-static-content.py
check
+ vacuumdb -U postgres --all --analyze --quiet
+ check
plc_daemon crond
check
plc_daemon crond
check