Expire undeleted mail older than specified age
Warren Block
wblock at wonkity.com
Tue Jul 12 14:37:25 GMT 2005
On Tue, 12 Jul 2005, Ann Lee wrote:
> Well, i have copied the perl script of expire_mail.pl in
> /usr/local/sbin/expire_mail.pl. And put the following into my cron
> job:
>
> 0 23 * * 3 /usr/local/sbin/expire_mail -l -M -a 60 /var/mail/*
> Seems not work. So i run the command manually and found that
> /usr/local/sbin/expire_mail: Command not found.
>
> Do i missed out any steps?
>From above, the file is called expire_mail.pl, but you don't have the
.pl extension in the cron command line, or in the command you typed.
-Warren Block * Rapid City, South Dakota USA
More information about the freebsd-questions
mailing list