[Users] Is it possible to automatically fetch mails in background?

Andrej Kacian andrej at kacian.sk
Sat Dec 26 00:22:30 CET 2015


On Fri, 25 Dec 2015 23:41:42 +0100
Johan Vromans <jvromans at squirrel.nl> wrote:

> On Fri, 25 Dec 2015 19:11:38 -0300
> Renaud (Ron) OLGIATI <renaud at olgiati-in-paraguay.org> wrote:
> 
> > > I want to fetch mails every X minutes in background, without
> > > making claws-mail GUI visible.
> > > 
> > > I found --receive-all parameter but I see no way to run
> > > claws-mail in headless mode (or at least keep GUI hidden).  
> > 
> > For X = 30, add a line 
> > 30 * * * * /usr/bin/claws-mail --receive-all
> > to your crontab.
> 
> This will run once per hour, at the 30 minutes mark.
> 
>   */2 * * * * /usr/bin/claws-mail --receive-all
> 
> will run twice per hour on most modern *ix systems.

How is it superior to simply configuring your account(s) to fetch mail
every 30 seconds and leaving Claws Mail minimized?

The --receive-all option will still start Claws Mail if it is not
running.

Regards,
-- 
Andrej



More information about the Users mailing list