mirror of
https://github.com/LightZirconite/Microsoft-Rewards-Bot.git
synced 2026-01-27 16:01:02 +00:00
feat: Implement internal scheduler for automatic daily execution with timezone detection
This commit is contained in:
@@ -138,25 +138,12 @@
|
||||
"host": "127.0.0.1"
|
||||
},
|
||||
// === SCHEDULING ===
|
||||
// See docs/getting-started.md for setup instructions
|
||||
// Automatic daily execution at specified time
|
||||
// The bot will run once per day at the time you specify
|
||||
// Time is based on YOUR computer/server timezone (automatically detected)
|
||||
"scheduling": {
|
||||
"enabled": false,
|
||||
"type": "auto",
|
||||
"cron": {
|
||||
"schedule": "0 9 * * *",
|
||||
"workingDirectory": "",
|
||||
"nodePath": "",
|
||||
"logFile": "",
|
||||
"user": ""
|
||||
},
|
||||
"taskScheduler": {
|
||||
"taskName": "Microsoft-Rewards-Bot",
|
||||
"schedule": "09:00",
|
||||
"frequency": "daily",
|
||||
"workingDirectory": "",
|
||||
"runAsUser": true,
|
||||
"highestPrivileges": false
|
||||
}
|
||||
"enabled": false, // Set to true to enable automatic daily runs
|
||||
"time": "09:00" // Time in 24h format (HH:MM) - e.g., "09:00" = 9 AM, "21:30" = 9:30 PM
|
||||
},
|
||||
// === UPDATES ===
|
||||
"update": {
|
||||
|
||||
Reference in New Issue
Block a user