[Remind-Fans] MSG and RUN possible, or something similar?
Dave
davo812 at gmail.com
Tue Mar 6 13:25:32 EST 2012
Using -kcmd seems to be working relatively well, and I am using a
trigger character to determine if that particular message should be
emailed or just displayed. Basically, if the message ends in a period,
I send an email as well. I have one followup question for now.
After instantiating remind using -k<magic-script>, will changes to the
script be picked up by remind or does it need to be killed and restarted
to see the changes?
I also have an unrelated question regarding the calendar. Is it
possible to display the calendar in an ncurses-based terminal such that
the screen is not cleared after the calendar is shown? The screen
clearing is the opposite behavior I want or would expect. This could be
something with my terminal, but I don't think so.
Thanks very much,
Dave
On 3/5/2012 2:17 PM, David F. Skoll wrote:
> 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.
> _______________________________________________
> Remind-fans mailing list
> Remind-fans at lists.roaringpenguin.com
> http://lists.roaringpenguin.com/cgi-bin/mailman/listinfo/remind-fans
> Remind is at http://www.roaringpenguin.com/products/remind
More information about the Remind-fans
mailing list