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

Explain how scheduled queries queue themselves up #7304

Open
noahtalerman opened this issue Aug 18, 2022 · 1 comment
Open

Explain how scheduled queries queue themselves up #7304

noahtalerman opened this issue Aug 18, 2022 · 1 comment
Labels
:improve documentation Involves writing improvements or additions to documentation

Comments

@noahtalerman
Copy link
Member

Goal

Explain how scheduled queries queue themselves up. See the "Notes" section below for more context.

How?

  • Maybe add a link to relevant section of osquery docs
  • Maybe bring osquery explanation into Fleet docs

Notes

This came out of the following conversation on Slack (internal):

Customer: Do scheduled queries queue themselves up if the device is powered off or sleeping? e.g., if a scheduled query misses its X hour time, and the device is powered on an hour after the schedule, does it run it immediately, or does it wait for the next scheduled time?

@roperzh: Hey! I think this quote from the osquery docs might answer your question better than I could:

NOTICE: that the interval time in seconds is how many seconds the daemon itself has been running before the scheduled query will be executed. If the system is suspended or put to sleep the progression of time "freezes" and resumes when the system comes back online. For example a scheduled query with an interval of 86400, or 24 hours, running on a laptop system could take a few days before the query executes if the system is suspended at night.
Source: https://osquery.readthedocs.io/en/stable/deployment/configuration/

Customer: Thank you, I was looking through Fleet documentation, didn't think to go check osquery docs.

@noahtalerman noahtalerman added the :improve documentation Involves writing improvements or additions to documentation label Aug 18, 2022
@noahtalerman noahtalerman moved this to 🥚 Ready in 🚀 Release Aug 18, 2022
@noahtalerman
Copy link
Member Author

@roperzh heads up, this is the issue tracking your request. This request was discussed during product office hours on 2022-08-18.

This request is not prioritized. I filed the issue to track the request so that we can come back to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:improve documentation Involves writing improvements or additions to documentation
Development

No branches or pull requests

1 participant