Auto-Schedule
Automatically transition maintenance status based on schedule.
Overview
Auto-schedule automatically updates maintenance status:
- Scheduled → In Progress at start time
- In Progress → Completed at end time
Enabling Auto-Schedule
When creating maintenance:
- Set the start and end times
- Enable Auto-update status
How It Works
| Time | Action |
|---|---|
| Before start | Shows as "Scheduled" |
| At start time | Automatically changes to "In Progress" |
| At end time | Automatically changes to "Completed" |
Notifications
When auto-schedule triggers:
- Subscribers are notified of status change
- Component statuses are updated
- Webhooks are triggered
Manual Override
You can always manually change the status:
- Start early if ready
- Extend if needed
- Cancel if not needed
Background Job
Auto-schedule runs via a cron job that checks every minute for maintenance windows that need status updates.
Note
Ensure your server's time zone is correctly configured, or use UTC for consistency.
Configuration
In your environment file:
# Enable auto-schedule (enabled by default)
AUTO_SCHEDULE_ENABLED=true
# Check interval in seconds (default: 60)
AUTO_SCHEDULE_INTERVAL=60