A new user interface for you! Read more...

File leafnode-daily.cron of Package leafnode2

#!/bin/sh
# maintenance of news spool daily
set -eu

[ -f /etc/sysconfig/leafnode ] && source /etc/sysconfig/leafnode

RUNNING=$(echo $LEAFNODE_DAILY|tr '[:upper:]' '[:lower:]')
if [ "x$RUNNING" == "xyes" ] ; then
    su news -s /bin/sh -c /usr/sbin/texpire
fi