Letcher Ross | 18 Aug 2001 17:48

RE: Remind-fans -- confirmation of subscription -- request 779886


-----Original Message-----
From: remind-fans-admin@...
[mailto:remind-fans-admin@...]On Behalf Of
remind-fans-request@...
Sent: Saturday, August 18, 2001 8:46 AM
To: letcher@...
Subject: Remind-fans -- confirmation of subscription -- request 779886

Remind-fans -- confirmation of subscription -- request 779886

We have received a request from 206.43.24.113 for subscription of your
email address, <letcher@...>, to the remind-fans@...
mailing list.  To confirm the request, please send a message to
remind-fans-request@..., and either:

- maintain the subject line as is (the reply's additional "Re:" is
ok),

- or include the following line - and only the following line - in the
message body: 

confirm 779886

(Simply sending a 'reply' to this message should work from most email
interfaces, since that usually leaves the subject line in the right
form.)

If you do not wish to subscribe to this list, please simply disregard
this message.  Send questions to remind-fans-admin@...
(Continue reading)

Letcher Ross | 19 Aug 2001 19:22

RUN turns off

Folks,

I have used remind for years on an old Linux box that did home automation.
Faithfully it sent my wife and I daily birthday reminders from a large list
I kept in /usr/local/lib called birthdays.  There was a similar list for
holidays.

My wife and I have .reminders files that contain the lines:

INCLUDE /usr/local/lib/holidays
INCLUDE /usr/local/lib/birthdays

This old machine died suddenly a month ago, which isn't too tragic since I
had it's replacement most built.  The new machine has the latest remind
software and I moved my big birthday file onto it.  Now, here's the
problem - my birthday file tries to calculate the age by running a little
"subtract the current year from the birth year" routine.  Here's a sample
line:

REM May 14 +10 RUN i=`expr %y - 1962`; echo "%"Gary%" Ross is $i %v"; echo

The problem is that the worlds gotten meaner since I wrote all those lines
and the current version doesn't like the RUN statements in there.  Since the
birthday file is included by the users .reminders I can understand.
However, on my current system even running with a command like:

[letcher <at> stevens ~]$ remind /usr/local/lib/birthdays

produces:

(Continue reading)

David F. Skoll | 19 Aug 2001 20:43
Favicon

Re: RUN turns off

On Sun, 19 Aug 2001, Letcher Ross wrote:

> REM May 14 +10 RUN i=`expr %y - 1962`; echo "%"Gary%" Ross is $i %v"; echo

You could do it like this:
REM MAY 15 +10 MSG %"Gary%" Ross is [year(trigdate()) - 1962] %v

> [letcher <at> stevens ~]$ remind /usr/local/lib/birthdays

> /usr/local/lib/birthdays(52): RUN disabled
> /usr/local/lib/birthdays(53): RUN disabled
> /usr/local/lib/birthdays(54): RUN disabled

Remind turns off RUN if the reminders file is not owned by you, or
is world-writable.

> Maybe my approach is wrong.  Can I calculate age without using RUN?

Yes; see my example above.

Regards,

David.

Tom Limoncelli | 20 Aug 2001 22:32

how to skip one date?

Hi all!  I have an event that is on the 1st monday of the month except when
holidays like labor day push it out one week.  So here's the original "1st
monday of every month" item:

REM Mon 1                         PRIORITY 1000 TAG nbpoly MSG Poly Support

This September it is pushed forward a week, so I changed it to this:

REM Mon 1         OMIT 3 Sep 2001 PRIORITY 1000 TAG nbpoly MSG Poly Support
REM 10 Sep 2001                   PRIORITY 1000 TAG nbpoly MSG Poly Support

Now I get the error "reminders(209): Day specified twice".

Is that not the right way to specify it?

--Tom

David F. Skoll | 21 Aug 2001 02:11
Favicon

Re: how to skip one date?

On Mon, 20 Aug 2001, Tom Limoncelli wrote:

> This September it is pushed forward a week, so I changed it to this:
>
> REM Mon 1         OMIT 3 Sep 2001 PRIORITY 1000 TAG nbpoly MSG Poly Support
> REM 10 Sep 2001                   PRIORITY 1000 TAG nbpoly MSG Poly Support

The first one should be:

REM Mon 1 SKIP OMIT 3 Sep 2001 PRIORITY 1000 ...

but it still won't work because of the following...

> Now I get the error "reminders(209): Day specified twice".

Ooops.  That's a bug in Remind.  I will have to fix it.  Sorry
about that.

Regards,

David.

David F. Skoll | 21 Aug 2001 02:20
Favicon

Re: how to skip one date?

Hi,

Sorry.  It is NOT a bug in Remind.  It's been a long while since I have
used advanced features of Remind, and I'm rusty...

A local "OMIT" clause can only contain weekdays.  So the proper way to
do the reminder is as follows:

# Labor day is a holiday:
OMIT 3 Sep 2001

# Or more fancily...  This works for any year, not just 2001.
REM Mon 1 Sep SCANFROM [trigger(today()-7)] SATISFY 1
OMIT [trigger(trigdate())]

# Now for the reminder:
REM Mon 1 SKIP PRIORITY 1000 TAG nbpoly MSG Poly Support

# And the special case
REM 10 Sep PRIORITY 1000 TAG nbpoly MSG Poly Support

--
David.

Jerry_Bash | 28 Aug 2001 18:36

Beginner Questions

Hi,

I am very new to remind and am having difficulty getting the 'warn' and
'sched'  useage.
I have the following two lines in my remind file: (taken from a man page
for remind)

FSET _wfun(x) choose(x,5,3,1,0) REM 4 July WARN _wfun MSG American
Independence Day is %b.
FSET _sfun(x) choose(x, -60, 30, 15, 10, 3, 1, 1, 1, 1, 0) REM AT 17:02
SCHED _sfun MSG foo

but when I run with the date specified on the command line as 4 Jul 2001
(or 3 Jul 2001), I don't
get any output associated with American Independence Day.

Similarly, I don't get timed reminders for the second line at all either.

If anyone can let me know what I'm doing wrong, it would be appreciated.

Thanks,
Jerry


Gmane