[Remind-Fans] OMIT Weekends...
Shibu Narayanan
shibu.narayanan at oracle.com
Wed Mar 9 04:18:21 EST 2016
Thanks Diane for your reply.
My current setup emails me the output of the remind program. Somehow, the error is not appearing in the email. Will need to have a workaround.
I am aware of this option
REM Mar 7 +1 OMIT SAT SUN MSG my reminder
But my query was how to have the "OMIT SAT SUN" as a global setting, so that I do not have to specify it for every Reminder.
Shibu Narayanan
Oracle Financial Services | Bangalore | India
Office:0091-80-4918-1692 | Mobile:0091-99800-64282
-----Original Message-----
From: Dianne Skoll [mailto:dfs at roaringpenguin.com]
Sent: Tuesday, March 08, 2016 9:17 PM
To: remind-fans at lists.roaringpenguin.com
Subject: Re: [Remind-Fans] OMIT Weekends...
On Tue, 8 Mar 2016 07:14:06 -0800 (PST)
Shibu Narayanan <shibu.narayanan at oracle.com> wrote:
> I have my reminders setup using cron to run once a day and send the
> output by email to my office address. Since I do not check my email on
> weekends(Sat,Sun), I have given the below line in the reminder file to
> skip weekends.
> OMIT Sat,Sun
I assume you've decided you can safely ignore the error message?
-stdin-(1): Unknown token: `Sat,Sun' (OMIT)
> REM Mar 7 +1 MSG my reminder
> How can I make the email to be sent out on Friday.
REM Mar 7 +1 OMIT SAT SUN MSG my reminder
However, it'll still be sent out on Saturday and Sunday as well. So you should also put this in your reminder file right at the beginning:
IFTRIG Sat Sun
# Don't bother me on weekends
EXIT
ENDIF
Regards,
Dianne.
_______________________________________________
Remind-fans mailing list
Remind-fans at lists.roaringpenguin.com
http://lists.roaringpenguin.com/cgi-bin/mailman/listinfo/remind-fans
Remind is at http://www.roaringpenguin.com/products/remind
More information about the Remind-fans
mailing list