# Description: # cron scripts # module.exports = (robot) -> Trello = require("node-trello") t = new Trello(process.env.HUBOT_TRELLO_KEY, process.env.HUBOT_TRELLO_TOKEN) cron = require('cron').CronJob # set cron: Show Done List new cron('0 0 9 * * 1', () -> postDoneCards() , null, true, 'Asia/Tokyo').start() # set cron: Close Done List new cron('0 0 18 * * 1', () -> closeDoneCards() , null, true, '