[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] mail agenda similar to `diary-mail-entries'
From: |
Patrick Drechsler |
Subject: |
[Orgmode] mail agenda similar to `diary-mail-entries' |
Date: |
Tue, 15 May 2007 14:50:56 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/23.0.0 (gnu/linux) |
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
- [Orgmode] mail agenda similar to `diary-mail-entries',
Patrick Drechsler <=