# 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: 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:

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

The question should be specific, self-contained, and written in natural language.
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.
