From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick Drechsler Subject: mail agenda similar to `diary-mail-entries' Date: Tue, 15 May 2007 14:50:56 +0200 Message-ID: <87mz0645e7.fsf@pdrechsler.de> 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 1HnwcP-0004l7-K1 for emacs-orgmode@gnu.org; Tue, 15 May 2007 08:59:09 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HnwcN-0004ho-U9 for emacs-orgmode@gnu.org; Tue, 15 May 2007 08:59:08 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HnwcN-0004hf-RS for emacs-orgmode@gnu.org; Tue, 15 May 2007 08:59:07 -0400 Received: from main.gmane.org ([80.91.229.2] 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 1HnwUV-0005Ir-70 for emacs-orgmode@gnu.org; Tue, 15 May 2007 08:50:59 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HnwUN-0006Q1-CP for emacs-orgmode@gnu.org; Tue, 15 May 2007 14:50:51 +0200 Received: from dslb-084-057-076-251.pools.arcor-ip.net ([84.57.76.251]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 15 May 2007 14:50:51 +0200 Received: from patrick by dslb-084-057-076-251.pools.arcor-ip.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 15 May 2007 14:50:51 +0200 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 Hi, is it possible to mail the agenda using a cron job similar to the diary function `diary-mail-entries'? Currently I have this shell script for mailing the diary entries to myself: --8<---------------cut here---------------start------------->8--- #!/bin/bash ## send diary entries by mail emacs \ --batch \ --load ~/.emacs \ --load ~/.gnus \ --funcall diary-mail-entries \ --eval "(setq diary-mail-days 7)" --8<---------------cut here---------------end--------------->8--- It would be nice to also include the agenda in this setup. Any ideas? Cheers, Patrick -- "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, the Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." -- Charles Barkley