[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Handling errors in command line exporting of agenda?
From: |
suvayu ali |
Subject: |
Re: [O] Handling errors in command line exporting of agenda? |
Date: |
Mon, 8 Aug 2011 23:46:50 +0200 |
Hi John,
On Mon, Aug 8, 2011 at 9:48 PM, John Hendy <address@hidden> wrote:
>
> emacs -batch -l ~/.emacs -eval '(find-file-read-only "~/org/*.org" t)' \
> -eval '(org-batch-agenda "e")' > ~/org/aux/agenda-export.txt
>
As I understand, with the above command the wildcard works but the file
locking prevents you from running it as a cron job. I could not find a
solution from a cursory search in the emacs and elisp manual. However I
have an alternate solution.
If you already have an emacs instance running, you could run your agenda
export as a timer within emacs. I don't know about the exact
implementation details, but I think you can find enough hints in the
following Worg entry in org-hacks.
<http://orgmode.org/worg/org-hacks.html#sec-2-4>
GL
--
Suvayu
Open source is the future. It sets us free.
- Re: [O] Handling errors in command line exporting of agenda?, (continued)
- Re: [O] Handling errors in command line exporting of agenda?, John Hendy, 2011/08/08
- Re: [O] Handling errors in command line exporting of agenda?, suvayu ali, 2011/08/08
- Re: [O] Handling errors in command line exporting of agenda?, John Hendy, 2011/08/08
- Re: [O] Handling errors in command line exporting of agenda?, Nick Dokos, 2011/08/08
- Re: [O] Handling errors in command line exporting of agenda?, Nick Dokos, 2011/08/08
- Re: [O] Handling errors in command line exporting of agenda?, John Hendy, 2011/08/08
- Re: [O] Handling errors in command line exporting of agenda?, Nick Dokos, 2011/08/08
- Re: [O] Handling errors in command line exporting of agenda?, John Hendy, 2011/08/08
- Re: [O] Handling errors in command line exporting of agenda?, suvayu ali, 2011/08/08
- Re: [O] Handling errors in command line exporting of agenda?, Nick Dokos, 2011/08/08
- Re: [O] Handling errors in command line exporting of agenda?,
suvayu ali <=