I have a number of scheduled tasks set up in Sitecore. Some run every 15 mins others every few hours.
An example config:
<sitecore>
<scheduling>
<agent type="Acme.Tasks.SitemapProducts, AcmeSitecore" method="Run" interval="00:15:00" site="website">
<param desc="filename">~/products.xml</param>
<param desc="Site">website</param>
<param desc="HasVariants">false</param>
</agent>
</scheduling>
</sitecore>
This runs a task that builds an xml file every 15 mins and is working fine. However I now want to stop this task from running between certain times on certain days. Is there any way for me to add this via config?