1#! /bin/sh
2
3# @configure_input@
4
5# leafnode.cron.daily -- cron process to run texpire once a day
6# (C) 2002 - 2004 by Matthias Andree
7
8# This program is free software; you can redistribute it and/or modify it
9# under the terms of version 2 of the GNU Lesser General Public License as
10# published by the Free Software Foundation.
11
12# This program is distributed in the hope that it will be useful, but WITHOUT
13# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License
15# for more details.
16
17# You should have received a copy of the GNU Lesser General Public License
18# along with this library; if not, write to the Free Software Foundation,
19# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA
20
21set -e
22
23if [ -f @SPOOLDIR@/leaf.node/groupinfo ] ; then
24	test -x @sbindir@/texpire && env LN_LOCK_TIMEOUT=0 @sbindir@/texpire
25else
26	exit 0
27fi
28