[Remind-Fans] Setting up timed reminders

remind.revision338 at 8shield.net remind.revision338 at 8shield.net
Sun Nov 10 09:53:40 EST 2024


Hi Dianne,

Thanks a lot for taking the time to reply, that's really helpful.

However, it looks like none of the reminders are queued when using '-k:':
=====================================
~ cat .reminders 
REM AT 07:30 MSG Morning routine

REM AT 14:00 MSG Backup laptop

REM AT 22:00 MSG Evening Routine

REM AT 15:59 MSG It's time

~ date
Sun 10 Nov 15:44:14 CET 2024

~ remind '-k:echo QUEUED %s' .reminders
Reminders for Sunday, 10th November, 2024 (today):

Morning routine

Backup laptop

Evening Routine

It's time

=====================================

With regards to the -a vs -aa flags, the man page says: The -a option causes Remind not to immediately trigger timed reminders that trigger on the  current  day.  It also causes Remind not to place timed reminders in a calendar.  If you supply two or more -a options, then Remind will trigger timed reminders that are in the  future,  but  will not  trigger timed reminders whose time has passed.  (Regardless of how many -a options you supply, Remind will not include timed reminders in the calendar if at least one -a option is used.)

Here is what I get:
  - with '-a' I get 2 reminders queued for later
  - with '-aa' I get only the future reminders but still no "QUEUED" is displayed 

=====================================
~ date
Sun 10 Nov 15:50:18 CET 2024

~ remind -a '-k:echo QUEUED %s' .reminders
2 reminder(s) queued for later today.

~ killall remind

~ remind -aa '-k:echo QUEUED %s' .reminders
Reminders for Sunday, 10th November, 2024 (today):

Evening Routine

It's time

=====================================

Cheers  /jerome



On Sunday, November 10th, 2024 at 15:35, Users of Remind - remind-fans at lists.skoll.ca <remind-fans_at_lists_skoll_ca_irigl at simplelogin.co> wrote:

> 
> 
> On Sun, 10 Nov 2024 14:04:45 +0000
> Jerome via Remind-fans remind-fans at lists.skoll.ca wrote:
> 
> > - [3] I don't get this one, as I would expect the echo command to be
> > triggered only for queued reminders, not for all reminders.
> 
> 
> The echo command is only triggered for queued reminders. The non-queued
> ones are "handled normally" which means Remind just prints them. In
> this case, it's impossible to distinguish between the normal output
> and the echo output.
> 
> If you try: remind '-k:echo QUEUED %s' .reminders
> then you should see a difference.
> 
> > - [4] I don't get this one either. Looking at the man page: "The -a
> > option causes Remind not to immediately trigger timed reminders that
> > trigger on the current day.
> 
> 
> Right. Since all of your reminders are timed, none of them will be
> immediately output. They'll all simply be queued. I think you have
> your understanding of -a and -aa reversed.
> 
> > Last question (please bear with me): how do I run remind to:
> 
> > - get past timed reminders for the day when I log on?
> 
> 
> You could run: remind -q [options] .reminders
> 
> That will trigger today's reminders, including any past ones for today,
> but it won't queue any.
> 
> > - make sure future timed reminders get triggered when they are due?
> 
> 
> remind -a should do that, with an appropriate '-k' option if you detach
> from the terminal and want to pop up a message. Or you could use TkRemind
> which runs Remind in daemon mode (-zj) and handles background reminder
> notifications in a nicer way (it pops up a message and optionally uses
> the desktop notification system.)
> 
> Regards,
> 
> Dianne.
> _______________________________________________
> Remind-fans mailing list
> Remind-fans at lists.skoll.ca
> https://dianne.skoll.ca/mailman/listinfo/remind-fans
> Remind is at https://dianne.skoll.ca/projects/remind/




More information about the Remind-fans mailing list