This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* DMM英会話のスケジュールを登録する | |
*/ | |
var CALENDAR_NAME = 'YOUR CALENDAR NAME'; | |
var SEARCH_QUERY = 'is:unread subject:"【DMM英会話】レッスン予約完了のお知らせ"'; | |
var REMIND_MINUTES_BEFORE = 10; | |
function registDMMEikaiwaCalendar() { | |
// 指定したカレンダーを取得 | |
var calendars = CalendarApp.getCalendarsByName(CALENDAR_NAME); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* DMM英会話のスケジュールを登録する | |
*/ | |
var CALENDAR_NAME = 'YOUR CALENDAR NAME'; | |
var SEARCH_QUERY = 'is:unread subject:"【DMM英会話】レッスン予約完了のお知らせ"'; | |
function registDMMEikaiwaCalendar() { | |
// 指定したカレンダーを取得 | |
var calendars = CalendarApp.getCalendarsByName(CALENDAR_NAME); | |
var calendar; |