[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Asynchronous mobileorg push/pull

From: Sven Bretfeld
Subject: Re: [O] Asynchronous mobileorg push/pull
Date: Mon, 23 Nov 2015 15:33:23 +0100

Allen Li writes:

> Hello,
> I've started using MobileOrg to do capturing and simple Org tasks on my
> phone.  Although it seems to work well enough so far, running
> org-mobile-push and org-mobile-pull synchronously locks up Emacs for an
> unacceptably long period of time.
> Does anyone have any asynchronous solutions for MobileOrg syncing?

You can just use a cronjob like:

*/10  *  *  *  *  emacs --batch --load ~/.emacs --eval "(org-mobile-pull)" 
--eval "(org-mobile-push)"

This executes the whole process in the background with another instance of
emacs running in batch-mode.


Sven Bretfeld
Department of Philosophy and Religious Studies
NTNU Trondheim

reply via email to

[Prev in Thread] Current Thread [Next in Thread]