---
title: "Apply different Active Times on a Rule that monitors cells on multiple Managed Entities"
description: "Applying different Active Times on a Rule monitoring cells across multiple Managed Entities requires using variables for Active Time. The variable must be added to each Managed Entity and referenced in the rule to apply distinct Active Times per entity."
url: "https://docs.itrsgroup.com/docs/faq/geneos/115004021825-geneos-apply-different-active-times-on-a-rule-that-monitors-cells-on-multiple-managed-entities/index.html"
---
## Using variables

This is easily done by using variables.

## Additional details

To attain this, the Active Time must be a variable, and this variable must be added to each Managed Entity (aka ME).

For example, using 2 MEs, the variable ACTIVE\_TIME is added to both ME1 and ME2:

ME1

![Screenshot](https://docscdn.itrsgroup.com/faq/images/geneos/115004021825-inline-1-mceclip0.png)

ME2

![Screenshot](https://docscdn.itrsgroup.com/faq/images/geneos/115004021825-inline-2-mceclip1.png)

The said variable references two different active times i.e. **Active on weekdays** and **Active on weekends**. This variable needs to also be added to the rule as seen below:

![Screenshot](https://docscdn.itrsgroup.com/faq/images/geneos/115004021825-inline-3-mceclip2.png)

Given this:

- When the rule is currently monitoring a cell on ME1, the active time **Active on weekdays** is applied to the rule
- When the rule is currently monitoring a cell on ME2, the active time **Active on weekends** is applied to the rule


