> For the complete documentation index, see [llms.txt](https://docs.botmanager.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.botmanager.io/misc/ruleset-examples-for-automation/turn-off-bots-on-sunday.md).

# Turn off Bots on Sunday

## Explanation

I'm not sure why you need this. But you can also build rules with custom expressions and refer to times / days. In this example all bots are deactivated on a Sunday.

The custom expression looks like this:

<div align="left"><img src="https://2840206233-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MieWdIBRoT06HGdZDGB%2F-MlP43n1s011aKj_JDYu%2F-MlP5-RntYNHVbedMCf9%2Fimage.png?alt=media&amp;token=987b58a8-0530-43bc-b4cb-70860b9fc814" alt=""></div>

<div align="left"><img src="https://2840206233-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MieWdIBRoT06HGdZDGB%2F-MlP43n1s011aKj_JDYu%2F-MlP4jRZhWodibVvZ_6D%2FRuleSet_TurnOffOnSunday.png?alt=media&amp;token=6606b4b0-221c-4dee-9289-455a8f1f75a3" alt=""></div>

## Download

{% file src="/files/-MlP5R4FmlQK3dOMtwWD" %}

&#x20;
