On Thu, Feb 11, 2021 at 06:51:33AM -0500, David J. Weller-Fahy wrote:

* * * * * flock -nx ~/.mbsync-lock-fast mbsync google-fast-cycle
*/5 * * * * flock -nx ~/.mbsync-lock-medium mbsync google-medium-cycle
*/15 * * * * flock -nx ~/.mbsync-lock-slow mbsync google-slow-cycle

I do the same, but I call them new, day, old instead:

- inbox run */5 8-0 * * * (every 5 minutes from 8am to midnight; I don't need a 
faster cycle)
- inbox run 30  0-8 * * * (every hour from midnight to 8am)
- "new" run @hourly
- "day" run @daily
- "old" run @weekly (no new mail ever, just there in case I delete some)

I didn't know flock, and I have just added it in.  It's great! Thanks.

Cheers,
Ángel

Reply via email to