Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How should I write "Every Tuesday, Thursday, Friday after 2011 Sep 13, but before Sep 28, with reminder 1 day before event".

Now I got REM Tue Thu Fri 13 Sep 2011 +1 UNTIL 28 Sep 2011 MSG Esem, but it doesn't seem to work correctly.

share|improve this question
up vote 3 down vote accepted

You've almost got it right, but remind has some odd behavior when you give a date spec that includes a weekday and a day. From the man page:

Note that when both weekday and day are specified, Remind chooses the first date on or after the specified day that also satisfies the weekday constraint. It does this by picking the first date on or after the specified day that is listed in the list of weekdays. Thus, a reminder like:

REM Mon Tue 28 Oct 1990 MSG Hi

would be issued only on Monday, 29 October, 1990. It would not be issued on Tuesday, 30 October, 1990, since the 29th is the first date to satisfy the weekday constraints.

You can get around it by adding FROM to your command:

REM Tue Thu Fri FROM 13 Sep 2011 +1 UNTIL 28 Sep 2011 MSG Esem
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.