[Remind-Fans] MSG and RUN possible, or something similar?

David F. Skoll dfs at roaringpenguin.com
Mon Mar 5 14:17:18 EST 2012


On Mon, 05 Mar 2012 14:18:37 -0500
Dave <davo812 at gmail.com> wrote:

> REM Mar 5 AT 11:00 MSG Important Appointment
> REM Mar 5 AT 11:00 RUN echo "Appointment to review stuff." | mail -s 
> "Time for Appt." user at example.com

> Is there any way I can have remind do both of these things without 
> having to enter each appointment twice?

You can invoke Remind like this:

remind '-kmy_magic_script %s' ...

Then you only use the MSG form and write a program called
my_magic_script that both echoes its argument to the terminal and
sends off an email.

See the man page for documentation on the "-k" option.

Regards,

David.


More information about the Remind-fans mailing list