README
slack-channel-active-reminder
Install
npm install slack-channel-active-reminder
Usage
const CronJob = require("cron").CronJob;
const Reminder = require("slack-channel-active-reminder").default;
const reminder = new Reminder();
const job = new CronJob({
cronTime: "0 00 18 * * 1-5",
onTick: function() {
reminder.postRemindMessage();
},
start: false,
timeZone: "Asia/Tokyo"
});
job.start();
License
MIT