From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cezar Halmagean Subject: cron export and email Date: Mon, 29 Sep 2008 11:46:28 -0700 Message-ID: <27541.1278977574$1222714107@news.gmane.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KkNlY-0007mp-3x for emacs-orgmode@gnu.org; Mon, 29 Sep 2008 14:46:40 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KkNlW-0007lN-Tr for emacs-orgmode@gnu.org; Mon, 29 Sep 2008 14:46:39 -0400 Received: from [199.232.76.173] (port=58057 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KkNlW-0007ky-L1 for emacs-orgmode@gnu.org; Mon, 29 Sep 2008 14:46:38 -0400 Received: from main.gmane.org ([80.91.229.2]:50031 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KkNlV-0006bX-Cs for emacs-orgmode@gnu.org; Mon, 29 Sep 2008 14:46:38 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KkNlT-0003z1-Vi for emacs-orgmode@gnu.org; Mon, 29 Sep 2008 18:46:35 +0000 Received: from 208.71.158.250 ([208.71.158.250]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 29 Sep 2008 18:46:35 +0000 Received: from cezar by 208.71.158.250 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 29 Sep 2008 18:46:35 +0000 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hello, Is there any way to grab a subtree and html-export it as an email attachment at a certain time ? What I need is, to take everything from my "Tickets" heading, html-export it to a file, create an email (from some kind of template) with that file attached and send it. All this needs to happen only at 19:00 on Friday and then remove all the tasks from that subtree marked as DONE. In other words, I need to send a weekly report. Here is the tree: ** Tickets *** TODO I have to do this task 1 [2008-09-26 Fri] *** TODO I have to do this task 2 [2008-09-26 Fri] *** DONE I have to do this task 3 [2008-09-26 Fri] Cezar