#!/bin/bash # # priority: 900 # # Configure cron jobs # # Mark Huang # Copyright (C) 2006 The Trustees of Princeton University # # $Id: guest.init,v 1.12 2006/04/04 22:09:47 mlhuang Exp $ # # Source function library and configuration . /etc/plc.d/functions 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 <