[Remind-Fans] Beginner help
hubert depesz lubaczewski
depesz at depesz.com
Wed Feb 29 11:15:41 EST 2012
On Wed, Feb 29, 2012 at 04:11:10PM +0000, Reid Thompson wrote:
> I have this in my openbox autostart.sh for popup reminders
> remind -z1 -k'zenity --title "Reminder" --info --text="%s" 500x300 &' /home/rthompso/.reminders &
>
>
> and I have this cron'd daily for a popup of the days events
> 05 08 * * * export DISPLAY=:0;/home/rthompso/bin/popupdailyreminders >/dev/null 2>&1
> where
> $ cat /home/rthompso/bin/popupdailyreminders
> #!/bin/bash
> zenity --info --title "today's reminders" --text="`remind -q -g ~/.reminders | sed 's/&/&/g' | awk '{if ( NF > 1 ) { if (NR == 1) { printf("%s\r%s\r%s\r\r", "", $0, "") } else { printf("%s\r%s\r%s\r\r", "******************", $0, "******************") }}}'`"
OK, so the basic approach is the same - i.e. cronjob for daily
notification + background task with -k"..." to send notification about
timed events. Seems I do it using the good (or at least common)
approach.
I do use different means of delivery of the reminders (mail + xmpp), but
the general idea is the same.
That would solve question #3 :) only 3 more to go. (I am not pushing any
of you to answer, I really, without any kind of negativity, understand
that you might have better things to do).
Best regards,
depesz
--
The best thing about modern society is how easy it is to avoid contact with it.
http://depesz.com/
More information about the Remind-fans
mailing list