[Users] linux: cron/at based fetch

Colin Leroy colin at colino.net
Tue Jan 3 10:04:44 CET 2017


On Tue, 03 Jan 2017 09:22:17 +0100, "Andrzej A. Filip"
<andrzej.filip at gmail.com> wrote:

> Is it possible to use claws-mail for cron/at scheduled fetches?
> 
> "claws-mail --receive" executed by "at" produced "cannot open
> display" error.

It should not need $DISPLAY if it is already running. If it is not,
running claws-mail --receive would start it.

What you could do is something like

pidof claws-mail > /dev/null && claws-mail --receive

-- 
Colin



More information about the Users mailing list