With slackbot, is it possible to set a reminder for every last Wednesday of the month or last day of the month?
24 Answers
If you entered the following in Slack, you will be reminded on the 28th day of every month to [Complete My Task].
/remind me to [Complete My Task] on the 28th day of every month 3 I ended up using ifttt.com for this. You can do an "every last day of the month" trigger there and you can have it post to slack. It does require you to give ifttt.com access to your slack account and allow it to post on your behalf of course.
I found that creating 12 custom reminders - one for each month of the coming year worked perfectly for me
EDIT:
Here's a bit of automation to do this for you:
- run this (can edit the message and the year):
python -c "import calendar
import datetime
year = 2020
def message(month, day): month_name = calendar.month_name[month] return f'/remind @me to \"Submit timesheet\" at 9:00 {month_name} {day} {year}'
def last_working_day(month): return max(calendar.monthcalendar(year, month)[-1:][0][:5])
all_messages = [message(month, last_working_day(month)) for month in range(1, 12 + 1) if datetime.date(year, month, last_working_day(month)) > datetime.datetime.today().date()]
print('\n'.join(all_messages))"- copy-paste output into slack
This will avoid setting reminders for the dates in the past which slack does not allow.
This unfortunately does not take into account locale-based holidays
I tell Slack to remind me every month to set up the team's reminder for that month. Example:
/remind me "Create this month's reminder" on the 21st of every monthI even embed the /remind syntax I'll need. Example:
/remind me "Create this month's reminder. Use this syntax: /remind #team-channel QUOTEMeeting starts in 15 minutesQUOTE on DATE at 1:45pm" on the 21st of every monthWhen it fires I copy/paste the syntax, replace QUOTE with double quotes and DATE with the date of the meeting. This isn't ideal, but it's pretty easy and works (as long as I'm not on vacation).