Add management command to update lastseen field#1038
Open
murrown wants to merge 6 commits intoOSU-Net:masterfrom
Open
Add management command to update lastseen field#1038murrown wants to merge 6 commits intoOSU-Net:masterfrom
murrown wants to merge 6 commits intoOSU-Net:masterfrom
Conversation
Member
|
pytz... i don't think that's in the requirements file? |
Member
Author
|
Hmm... I thought it was part of the standard library since it's on all of my computers but I guess not. |
Member
|
Okay, its been so long since we last talked about this that I forgot how this was supposed to work. It appears that updating the file date causes it to start over. This has to do with the symlink only changing every day right? So we keep reading more of the file until the date changes? |
Member
|
Yeah, that seems to be the deal. I'm going to get a test running... @murrown maybe prepare a PR or add to this PR the last-seen value back to the UI? |
Member
Author
|
Alright, I'll add it to this pull request. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This command takes the filename of the most recent log file as an argument. It keeps the name of the previous log file in a stop file, so it will read what remains of the previous log file before starting on the newest log file.