Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Archiver Scheduling Problems #43

Closed
tybritten opened this issue Aug 19, 2020 · 4 comments
Closed

Archiver Scheduling Problems #43

tybritten opened this issue Aug 19, 2020 · 4 comments

Comments

@tybritten
Copy link
Contributor

Right now archiver is hardcoded to run at startup, then 00:01 UTC every day after that.
A couple problems:

  1. We'd like to optionally be able to schedule the archiving off of peak times (for us would be more like 06:00-07:00 UTC)
  2. The naptime calculations appear to be wrong- it's calculating to sleep from the start time, not from now. So the archive time drifts by as long as it took to archive that day.

If you're fine with it, I'd like to put a PR in to add an optional start time config item as well as fix the nap calculation.

@nicpottier
Copy link
Contributor

Sure thing, both those sound good!

@tybritten
Copy link
Contributor Author

Oooh one more- we'd like to add an exit-on-completion flag so archiver could also be schedulable externally (via cronjob etc)

Ok?

@nicpottier
Copy link
Contributor

Yep!

@tybritten
Copy link
Contributor Author

closed by #44

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants