Den fre 2 maj 2025 kl 19:38 skrev Ihor Radchenko <yanta...@posteo.net>:
> Henrik Frisk <fris...@gmail.com> writes: > > > I would like to have a script call org-agenda tat exports my agenda in an > > .ics file. I have this working fine in emacs (C-c a e in my setup). This > > locks emacs for the time it takes to parse the agenda files. There are > ways > > to shorten this that I have tried, but is there a way to call > > org-batch-store-agenda-views from the command line that allows me to run > it > > the background in a cron tab? > > See 11.7 Exporting Agenda Views section of the manual. It has an example > how to do what you want. > > Yes, I've tried that, but even if I do: emacsclient --eval '(org-batch-store-agenda-views)' it locks up my running emacs until the process has completed (which apears odd to me so I'm probably missing something). /Henrik