2 ################################################################################
5 # Description: This script sets up Cygwin's cron on the local machine
6 # Author: Andrew@DeFaria.com
9 # Modifications:<modifications>
11 # (c) Copyright 2002, Andrew@DeFaria.com, all rights reserved
13 ################################################################################
15 # Make sure that certain directories and files do not exist! This is to let
16 # cron create them, which appears to be the only way to get these created
18 if [ -d /var/cron ]; then
20 rm -rf /var/run/cron.pid
21 rm -rf /var/log/cron.log
23 # Install cron service:
24 cygrunsrv -I cron -p /usr/sbin/cron -a -D -d "Cygwin cron" -e "MAILTO=$USER@broadcom.com" -e "CYGWIN=ntsec"