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. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>