#!/bin/sh
#
# Leafnode cron job. To be run daily.
# By Joey Hess <jeh22@cornell.edu>

# Expire old news.
# Ignores the messages texpire generates to stdout about which articles it
# expires. If you'd rather get that info mailed to you, remove the >/dev/null
su news -c "/usr/sbin/texpire" >/dev/null

# Get new news.
su news -c "/usr/sbin/fetch"
