Set new log header daily #130
No reviewers
Labels
No labels
bug
config update
documentation
duplicate
enhancement
in dev
input needed
new feature
not in draft
refactor
waiting on docs update
wont-do
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Sirdog/EnduraBot!130
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/daily-restart"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
So, apparently, getting the bot to restart cleanly using a task loop isn't an easy win. Ugh.
Alas, I instead looked in
utils/logging_setup.pyand saw I had an entire custom log level for theBOOTheader. The whole point of restarting was just to ensure a new header exists per day at midnight. So, I instead had the loop just send another one of those at midnight every night.That was an easy win.
New variable created since daylight savings time changes the hour requirement.
variables_example.jsonupdated appropriately.Closes #122