[Remind-Fans] Fwd: rem run date not working
Dianne Skoll
dianne at skoll.ca
Wed Sep 11 09:49:44 EDT 2019
Hi, Dave,
On 9/10/19 9:24 PM, Dave Parker wrote:
> Hi, Sorry if this is the wrong address to send to, but I tried
> "remind-fans at lists.roaringpenguin.com
> <mailto:remind-fans at lists.roaringpenguin.com>" and the email bounced back to me
The list is now here: https://dianne.skoll.ca/mailman/listinfo/remind-fans
and you do appear to be subscribed, so I'm replying to the list.
> but with this in a rem file:
> REM AT 19:09 run date "+%Y/%m/%d %H:%M" >> /tmp/plexrunning
> REM AT 19:09 run date >> /tmp/plexrunning
> Tue Sep 10 19:09:00 MDT 2019 <-- this is correct (although happens before the
> previous rem line)
> 2019/September/10 Today:September <-- this is weirdly wrong (and should appear
> before the other one)
Two things are happening here:
1) If you have two timed reminders that trigger at the same time, Remind
makes no guarantee about which order they'll be fired in.
2) Remind has its *own* %-substitution filter that happens before the
command line is passed to the shell. You need to double up on the percent
signs, like this:
REM AT 19:09 run date "+%%Y/%%m/%%d %%H:%%M" >> /tmp/plexrunning
Regards,
Dianne.
More information about the Remind-fans
mailing list