[Remind-Fans] Poll: Anyone using ONCE?

hymie! hymie at nasalinux.net
Mon Jul 8 08:00:11 EDT 2024


On Sat, Jul 06, 2024 at 12:38:02PM -0400, Dianne Skoll via Remind-fans wrote:
> Hi,
> 
> Does anyone use the "ONCE" keyword?  I think it's a misfeature and
> would like to remove it.  If nobody's using it, I will start by

Just for the record, I don't think I knew the "ONCE" keyword was there.

What I did, which somewhat matches the documentation example of backups.
was to have a cron job run

30 15 * * wed /usr/local/bin/remind -icron=1 ~/.reminders.d/dancelesson

and my .reminders.d/dancelesson file has

if defined("cron")
 if (cron == 1)
   if ! isomitted(today())
     (do my wednesday afternoon stuff)
   endif
 endif
endif

It looks like I expected more options for the value I attached to the cron
variable but I haven't done any yet.

Anyway, I think this accomplishes the same goal as the "ONCE" option,
but in a more unix-like manner.  No offence intended, but I'd rather have
cron run this kind of thing on a strictly scheduled basis than depend on
me logging in and running remind at least once each day.

--hymie!


More information about the Remind-fans mailing list