[Users] Send on check mail

Pierre Fortin pf at pfortin.com
Fri Sep 6 15:00:04 CEST 2013


On Fri, 6 Sep 2013 07:43:26 -0400 Renaud (Ron) OLGIATI wrote:

>crontab:
>	0 * * * * claws-mail --send
>	1 * * * * claws-mail --receive-all
>which should do the job every hour on the hour (to be tweaked later, to
>avoid phoning in the wee hours !)

0 8-20 * * 1-5 claws-mail --send
1 8-20 * * Mon-Fri claws-mail --receive-all

will only trigger between 8am & 8pm Mon-Fri(1-5); whereas:

0 8-20/2 * * 1,3,5 ...

for every 2 hours (8am-8pm) on Mon,Wed,Fri

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...

HTH
Pierre



More information about the Users mailing list