# 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
+# Be verbose
+set -x
+
case "$1" in
start)
MESSAGE=$"Starting crond"
*/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
check
gen-static-content.py
check
+ dns-config
+ check
vacuumdb -U postgres --all --analyze --quiet
check