git://git.onelab.eu
/
myplc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
create planetlab4 db with unicode encoding and owned by pgsqluser
[myplc.git]
/
plc.d
/
crond
diff --git
a/plc.d/crond
b/plc.d/crond
index
5fb4120
..
34f371c
100755
(executable)
--- a/
plc.d/crond
+++ b/
plc.d/crond
@@
-7,13
+7,16
@@
# 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.
2 2006/04/25 21:18:19
mlhuang Exp $
+# $Id: crond,v 1.
4 2006/05/26 19:57:30
mlhuang Exp $
#
# Source function library and configuration
. /etc/plc.d/functions
. /etc/planetlab/plc_config
#
# Source function library and configuration
. /etc/plc.d/functions
. /etc/planetlab/plc_config
+# Be verbose
+set -x
+
case "$1" in
start)
MESSAGE=$"Starting crond"
case "$1" in
start)
MESSAGE=$"Starting crond"
@@
-34,6
+37,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
+*/15 * * * * root dns-config
5 5 * * * root vacuumdb -U postgres --all --analyze --quiet
EOF
5 5 * * * root vacuumdb -U postgres --all --analyze --quiet
EOF
@@
-44,6
+48,8
@@
EOF
check
gen-static-content.py
check
check
gen-static-content.py
check
+ dns-config
+ check
vacuumdb -U postgres --all --analyze --quiet
check
vacuumdb -U postgres --all --analyze --quiet
check