Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
const CronJob = require('cron').CronJob
new CronJob({
cronTime: '0 0 12 * * *',
onTick: () => { /* */ },
start: true,
timeZone: 'Asia/Tokyo',
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment