The cleanup runs multiple times a day and is permanently active after you activate the plugin. If there is no such function.mention visible in AdRotate Settings > Maintenance you’re not using the latest version.
In that case, update to the latest version of AdRotate.