Opened 15 years ago
Closed 15 years ago
#8943 closed defect (Fixed)
Mythshutdown won't wake for daily period2 if before daily period1
| Reported by: | Owned by: | paulh | |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.24 |
| Component: | MythTV - Mythwelcome & Mythshutdown | Version: | Master Head |
| Severity: | medium | Keywords: | |
| Cc: | Ticket locked: | no |
Description
If the second daily wakeup period is before the first daily wakeup period, mythshutdown will never set the machine to wake for the second daily wakeup period. I can see the problem lies in line 508: if (!dtNextDailyWakeup.isValid() && dtPeriod2Start != dtPeriod2End).
Counter to this, the shutdown check will happily return a status of "in daily wake up period" for both periods.
Change History (3)
Note:
See TracTickets
for help on using tickets.

(In [26742]) mythshutdown: Make sure we have the shutdown periods in the correct order before deciding when the next wakeup time should be.
Fixes #8943.