#! /bin/sh
: &&O='cd .' || exec /bin/sh "$0" $argv:q # we're in a csh, feed myself to sh
$O || exec /bin/sh "$0" "$@"		  # we're in a buggy zsh
#########################################################################
#	cronlist	Script called by cron at regular intervals	#
#			that performs various housekeeping tasks	#
#			related to the mailinglists			#
#									#
#	Created by S.R. van den Berg, The Netherlands			#
#									#
#	Customise to taste.						#
#	This script will not be automatically overwritten by the next	#
#	upgrade.							#
#########################################################################
#$Id: cronlist,v 1.6 1995/03/20 14:50:43 berg Exp $

test=test			# /bin/test
echo=echo			# /bin/echo
dirname=dirname			# /bin/dirname

PATH=$HOME/.bin:$HOME/.bin:$PATH:/usr/local/bin
	# make sure that the PATH provided here finds all standard utilities
	# AND formail and lockfile.

cronlist=yes			# Needed to tell flush_digests it is being
				# run from cronlist.
export PATH cronlist
a=`$dirname $0`/..

#
# Change directory to where our lists are located
#

cd $a

#
# Put all commands to be run for these lists on a regular basis below here
#

flush_digests

exit 0
