mirror of
https://github.com/LightZirconite/Microsoft-Rewards-Bot.git
synced 2026-01-10 17:26:17 +00:00
- Updated index.md to simplify structure and focus on task-oriented guides. - Revised notifications.md to streamline setup instructions and improve clarity. - Added report-error.js for structured error reporting to Discord. - Introduced account-creation.md and configuration.md for detailed guidance on account setup and bot configuration. - Created dashboard.md, docker.md, error-reporting.md, modes.md, running.md, scheduling.md, setup.md, troubleshooting.md, and update.md for comprehensive documentation on respective features and usage. - Updated package-lock.json and package.json to include peer dependencies.
20 lines
418 B
Markdown
20 lines
418 B
Markdown
# Scheduling
|
|
|
|
## What it does
|
|
Runs the bot automatically at set times.
|
|
|
|
## How to use
|
|
- Turn on scheduling in `src/config.jsonc` under `scheduling.enabled`.
|
|
- Choose a time using the cron or Task Scheduler fields already in the config.
|
|
- Leave the machine or container running so the schedule can trigger.
|
|
|
|
## Example
|
|
```jsonc
|
|
{
|
|
"scheduling": {
|
|
"enabled": true,
|
|
"cron": { "schedule": "0 9 * * *" }
|
|
}
|
|
}
|
|
```
|