From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ken Mankoff Subject: Re: export to ics a specific buffer every X hours Date: Sun, 26 Jun 2016 13:10:18 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59024) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHDZe-0002Oc-Ct for emacs-orgmode@gnu.org; Sun, 26 Jun 2016 13:10:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bHDZc-0004if-5v for emacs-orgmode@gnu.org; Sun, 26 Jun 2016 13:10:21 -0400 Received: from mail-qt0-x242.google.com ([2607:f8b0:400d:c0d::242]:33843) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHDZc-0004iZ-1f for emacs-orgmode@gnu.org; Sun, 26 Jun 2016 13:10:20 -0400 Received: by mail-qt0-x242.google.com with SMTP id m2so2119554qtd.1 for ; Sun, 26 Jun 2016 10:10:19 -0700 (PDT) In-reply-to: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Xebar Saram Cc: org mode Hi, I don't know if this would help, but I export an Org buffer every time it is saved. On OS X, I have a LaunchAgent that watches the file: Label com.kenmankoff.org2ical ProgramArguments /Users/mankoff/bin/org2ical.sh WatchPaths /Users/mankoff/Documents/Org/events.org And then the shell script that is executed: /Applications/Emacs.app/Contents/MacOS/Emacs --batch --directory=~/Documents/Org --visit=~/Documents/Org/events.org --eval '(progn (setq org-agenda-default-appointment-duration 1) (org-icalendar-export-to-ics))' -k.