Skip to content

Commit

Permalink
Merge pull request #84 from Mickhat/oli-debug-schedulejob
Browse files Browse the repository at this point in the history
Log every hour on minute 13 to debug schedule job
  • Loading branch information
Mickhat committed Jan 24, 2024
2 parents 812222d + d3d760e commit 36611d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/listeners/ready.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default (client: Client, logger: ILogger): void => {
logger.logSync('INFO', `${client.user.username}#${client.user.discriminator} ist online!`)

// Everyday at 13:37 (24 hour clock)
schedule.scheduleJob('*/10 * * * *', async () => {
schedule.scheduleJob('37 * * * *', async () => {
logger.logSync('INFO', `Entered scheduleJob : channel_id=${process.env.SEND_1337_CHANNEL_ID}`)
const targetChannel = await client.channels.fetch(process.env.SEND_1337_CHANNEL_ID ?? '')

Expand Down

0 comments on commit 36611d0

Please sign in to comment.