[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] mail agenda similar to `diary-mail-entries'

From: Carsten Dominik
Subject: Re: [Orgmode] mail agenda similar to `diary-mail-entries'
Date: Tue, 15 May 2007 20:47:11 +0200


emacs -batch -l ~/.emacs -eval '(org-batch-agenda "a")' \
       | mail address@hidden

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:


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

--8<---------------cut here---------------start------------->8---
## 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?


"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

Carsten Dominik
Sterrenkundig Instituut "Anton Pannekoek"
Universiteit van Amsterdam
Kruislaan 403
NL-1098SJ Amsterdam
phone: +31 20 525 7477

reply via email to

[Prev in Thread] Current Thread [Next in Thread]