Skip to content

Commit

Permalink
Merge pull request #22 from hanriel/dev
Browse files Browse the repository at this point in the history
test
  • Loading branch information
hanriel authored Oct 4, 2023
2 parents 21813df + 179864f commit b5c6ace
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/telegram/telegram.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,11 @@ export class TelegramService {
console.log('Taksk Service constructor is started')
}

@Cron('0 45 7 * * 1-5', {
timeZone: "Asia/Yekaterinburg"
})
@Cron('0 45 7 * * 1-5'
//, {
// timeZone: "Asia/Yekaterinburg"
//}
)
handleCron() {
this.bot.telegram.sendMessage(process.env.ADMIN_TG_CHATID, 'Утреннее сообщение в 7:45');
}
Expand Down

0 comments on commit b5c6ace

Please sign in to comment.