MAILTO=root
PATH=/usr/bin:/bin:/usr/sbin:/sbin

@reboot root apt-get autoclean 1>/dev/null

# FIXME: The below detection that tells us if we run inside a DLW (or similar) is not 100% safe.
#        The disklserver also has an ltsp.conf file... This needs to be improved.

# make latest package lists available to the user and Icinga
0 7,11,15 * * * root if [ ! -e /etc/ltsp/ltsp.conf ]; then apt-get update 1>/dev/null 2>/dev/null; fi
15 8      * * * root if [ ! -e /etc/ltsp/ltsp.conf ]; then apt-get clean 1>/dev/null 2>/dev/null; fi
