I believe fetchmail has a daemon mode that will run in the background for 
you. I think this has also been discussed on this list serve before.

man fetchmail
 
DAEMON MODE
       The  --daemon <interval> or -d <interval> option runs fetchmail in dae-
       mon mode.  You must specify a  numeric  argument  which  is  a  polling
       interval in seconds.
 
       In  daemon  mode, fetchmail puts itself in background and runs forever,
       querying each specified host and then sleeping for  the  given  polling
       interval.
 
       Simply invoking
 
              fetchmail -d 900


Jeff Painter


On Wed, 22 Oct 2003 [EMAIL PROTECTED] wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> I have set up fetchmail with procmail and spamassassin to filter out the spam, 
> but could use a little help or some pointers in setting up fetchmail to run 
> as a cron (or similar) job so that I do not need to manually run it.
> 
> This is the fetchmail command that I am using:
> fetchmail -av -m "/usr/bin/procmail"
> 
> thanks
> - -- 
> Z

-- 
TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
TriLUG Organizational FAQ  : http://trilug.org/faq/
TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
TriLUG PGP Keyring         : http://trilug.org/~chrish/trilug.asc

Reply via email to