[Users] Send on check mail

Pierre Fortin pf at pfortin.com
Fri Sep 6 15:46:02 CEST 2013


On Fri, 6 Sep 2013 09:10:41 -0400 Renaud (Ron) OLGIATI wrote:

>On Fri, 6 Sep 2013 09:00:04 -0400
>Pierre Fortin <pf at pfortin.com> wrote:
>
>> You might also try combining the commands:
>> 0 8-20 * * 1-5 (claws-mail --send; claws-mail --receive-all)
>> to avoid possible double-dials at *:00 and *:01 -- hopefully, the
>> connection doesn't drop right after the --send...
>
>What about 
>	0 8-20 * * 1-5 claws-mail --send && claws-mail --receive-all
>to ensure the second part only runs if the first ahs succeeded ?

Sure... but does CM set a failure return code? Under what condition(s)?
No clue that I could find in quick search of CM docs...(?)

>Cheers,
> 
>Ron.

Pierre



More information about the Users mailing list