Re: How to use serialmail with crond

Frank Tegtmeyer <[email protected]> 04 Mar 2003 18:31:13 +0100
Newsgroups gmane.mail.serialmail
Message-ID <[email protected]>
"Massimo Rizzotto" <[email protected]> writes:

> ..so what I have to write in the crontab file to run serialmail once a
> hour?

You have to ensure that tcpclient is in your PATH. For a common cron
daemon you may specify the path in /etc/crontab.

Example:

SHELL=/bin/sh
PATH=/usr/bin:/usr/sbin:/sbin:/bin:/usr/local/bin
MAILTO=root

You may also use the env command to change the PATH for your
serialmail command only.

Frank