#/bin/csh -f
#
# EXAMPLE USE OF EXPIRECTL, RUN PRIOR TO EXPIRE

cd ~

limit datasize unlimit
limit maxproc unlimit

# set to the location of your spool
#
# -v		verbose
# -f		force update of expire.ctl
# -I n.n	set expire.days increment, 2xDecrement.
# -innnn[m]	set free inode target
# -bnnnn[m]	set free space target
# 
#

set spool1 = "/home/news/spool/news/."

# modify expire.ctl according to free space
#
# expire is run every 6 hours, four times a day, so the incr/decr
# is set to 0.2

bin/expirectl -v $spool1 -b1500m -i200k -I 0.2

# run only expire.
#

bin/news.daily nologs nomail norenumber norotate nostat delayrm "flags=-v1"

