The current initscript for dcron has a hardcoded value for the logfile it should use (/var/log/cron.log). I wanted to change that behavior and decided to share my small change with the rest of the community. My suggestion for start() section of the init script (sorry, can't make a proper patch now, but that's a whole different problem :-) ): start() { ebegin "Starting dcron" /usr/sbin/crond ${DCRON_OPTS} >> ${DCRON_LOG} 2>&1 eend $? } And of course the /etc/conf.d/dcron file should get the variable: # /etc/conf.d/dcron # Options to pass to dcron at startup DCRON_OPTS="" # Logfile to send log output to # Default is /var/log/cron.log, set to /dev/null to disable logging DCRON_LOG="/var/log/cron.log" You might want to add some logic to the script to enforce a default in case the variable is unset. Reproducible: Always Steps to Reproduce:
this is now in cvs. thanks.