From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: mail agenda similar to `diary-mail-entries' Date: Tue, 15 May 2007 20:47:11 +0200 Message-ID: <34aed42135ad4a217118ca0168898606@science.uva.nl> References: <87mz0645e7.fsf@pdrechsler.de> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ho2BA-0005yo-4j for emacs-orgmode@gnu.org; Tue, 15 May 2007 14:55:24 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ho2B8-0005yG-K7 for emacs-orgmode@gnu.org; Tue, 15 May 2007 14:55:23 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ho2B8-0005y5-BE for emacs-orgmode@gnu.org; Tue, 15 May 2007 14:55:22 -0400 Received: from korteweg.uva.nl ([146.50.98.70]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ho23E-0006u5-0r for emacs-orgmode@gnu.org; Tue, 15 May 2007 14:47:12 -0400 In-Reply-To: <87mz0645e7.fsf@pdrechsler.de> 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: Patrick Drechsler Cc: emacs-orgmode@gnu.org Untested: emacs -batch -l ~/.emacs -eval '(org-batch-agenda "a")' \ | mail user@address.com With (setq org-agenda-include-diary t), the diary will be part of the mailing automatically. - Carsten On May 15, 2007, at 14:50, Patrick Drechsler wrote: > 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 > > > > > _______________________________________________ > Emacs-orgmode mailing list > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > > -- Carsten Dominik Sterrenkundig Instituut "Anton Pannekoek" Universiteit van Amsterdam Kruislaan 403 NL-1098SJ Amsterdam phone: +31 20 525 7477