[Remind-Fans] Poll: Anyone using ONCE?

Tim Chase remind at tim.thechases.com
Mon Jul 8 09:48:13 EDT 2024


On 2024-07-08 08:00, Remind list wrote:
> 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)

I've used this pattern too (sometimes just checking the defined()
and ignoring its value), letting me tweak things based on the
-iVARNAME parameters I pass in.

> Anyway, I think this accomplishes the same goal as the "ONCE"
> option, but in a more unix-like manner.

Yeah, I also like the more-Unixy-feel to this.

-tim







More information about the Remind-fans mailing list