mirror of
https://github.com/LightZirconite/Microsoft-Rewards-Bot.git
synced 2026-01-10 09:16:16 +00:00
feat: update README and SchedulerManager for improved automatic scheduling configuration
This commit is contained in:
@@ -130,11 +130,9 @@ export class MicrosoftRewardsBot {
|
||||
this.accountJobState = new JobState(this.config)
|
||||
}
|
||||
|
||||
// Setup automatic scheduler if enabled
|
||||
if (this.config.scheduling?.enabled) {
|
||||
const scheduler = new SchedulerManager(this.config)
|
||||
await scheduler.setup()
|
||||
}
|
||||
// Setup or remove automatic scheduler based on config
|
||||
const scheduler = new SchedulerManager(this.config)
|
||||
await scheduler.setup()
|
||||
}
|
||||
|
||||
private shouldSkipAccount(email: string, dayKey: string): boolean {
|
||||
|
||||
Reference in New Issue
Block a user