EXPIRE(8)

NAME
expire - remove outdated news articles

SYNOPSIS
/usr/lib/news/expire [ -n newsgroups ] [ -i ] [ -I ] [ -v [ level ] ] [ -edays
 ]
 [ -a
 ]

DESCRIPTION

Expire is normally started up by cron(8) every night to remove all expired news. If no newsgroups are specified, the default is to expire all.

Articles whose specified expiration date has already passed are considered expirable. The -a option causes expire to archive articles in /usr/spool/oldnews. Otherwise, the articles are unlinked.

The -v option causes expire to be more verbose. It can be given a verbosity level (default 1) as in -v3 for even more output. This is useful if articles aren't being expired and you want to know why.

The -e flag gives the number of days to use for a default expiration date. If not given, an installation dependent default (often 2 weeks) is used.

The -i and -I flags tell expire to ignore any expiration date explicitly given on articles. This can be used when disk space is really tight. The -I flag will always ignore expiration dates, while the -i flag will only ignore the date if ignoring it would expire the article sooner. WARNING: If you have articles archived by giving them expiration dates far into the future, these options might remove these files anyway.

SEE ALSO
checknews(1), inews(1), readnews(1), recnews(8), sendnews(8), uurec(8)