#!/bin/bash # # priority: 900 # # Configure cron jobs # # Mark Huang # Copyright (C) 2006 The Trustees of Princeton University # # $Id: crond,v 1.1 2006/04/06 21:51:59 mlhuang Exp $ # # Source function library and configuration . /etc/plc.d/functions . /etc/planetlab/plc_config case "$1" in start) MESSAGE=$"Starting crond" dialog "$MESSAGE" if [ "$PLC_MAIL_ENABLED" = "1" ] ; then MAILTO=$PLC_MAIL_SUPPORT_ADDRESS else MAILTO= fi cat >/etc/cron.d/plc.cron <