File: cronlist

package info (click to toggle)
smartlist 3.15-28
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,308 kB
  • sloc: ansic: 9,238; sh: 4,901; makefile: 118
file content (42 lines) | stat: -rwxr-xr-x 1,207 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#! /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=SedHomeDir/SedBinDir:SedHomeDir/.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