diff --git a/src/index.ts b/src/index.ts index c2a0095..43857a6 100644 --- a/src/index.ts +++ b/src/index.ts @@ -121,7 +121,7 @@ const scrape = async () => { } const cronTask = cron.schedule('*/1 * * * *', async () => { await scrape() -}) +}, { scheduled: false }) console.log('valid: ', cron.validate('*/1 * * * *')) bot.on(message('text'), async (ctx) => { const text = ctx.message?.text