add console

This commit is contained in:
Jay 2018-08-25 21:04:08 +08:00
parent ece2700714
commit c202e83c6a

View File

@ -99,6 +99,7 @@ const runCheckPage = async function (t) {
new cron.CronJob({ //eslint-disable-line
cronTime: '*/20 * * * * *',
onTick: async () => {
console.log('check twitch channel')
let db = await DB.connect()
let text = `select "id" from "public"."twitch_channel"`