Hi John, On Mon, Aug 8, 2011 at 9:48 PM, John Hendy <jw.he...@gmail.com> 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.