> For the complete documentation index, see [llms.txt](https://streamsmanager.gitbook.io/streams-manager/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://streamsmanager.gitbook.io/streams-manager/faq/what-runs-and-is-synchronized-on-a-recurring-basis.md).

# What runs and is synchronized on a recurring basis?

Streams Manager has several background processes that run on a schedule that do maintenance tasks and data synchronization with external system such as Plex, PayPal, Stripe, Discord, etc. The processes that run are as follows:

* Every 5 minutes
  * Streaming activity logging and enforcement
  * Download activity logging and enforcement
  * Emby device enforcement
* Every hour
  * User synchronization with Plex (import of new users, updates to existing users)
  * Server synchronization with Plex (updates to servers, updates to libraries on servers, etc.)
  * Payments synchronization (import of new recurring or peer-to-peer payments you have received through PayPal or Stripe)
  * Removal of users whose subscriptions expires
  * Updates to sharing (if users changed plans, libraries included in plans changed, etc.)
  * Discord synchronization (adding/removing roles, kicking users, etc.)
* Daily
  * Calculation of number of active users
  * Ombi synchronization (updating of Discord notification data to Ombi users)
  * Overseerr synchronization (adding/removal of Overseerr local users, updating of Discord notification data to Overseerr users)
  * Petio synchronization (adding/removal of Petio users)
  * Payment reminders sending
  * Plex token validation (ensures Plex tokens in the system are valid so the system can operate and use them)
  * Library statistics refresh


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://streamsmanager.gitbook.io/streams-manager/faq/what-runs-and-is-synchronized-on-a-recurring-basis.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
