Q:

Restrict Azure WebJobs to RUN on Week Ends and Holidays

How can I configure Azure web job to run only in Week Days?
I do not want to RUN the Azure web job on week ends (Saturday, Sunday) and Holidays.
We can schedule azure web job to RUN in week days by CRON expression but how to restrict it to RUN in holidays, I am not sure.
Any help would much be appreciated.

A:

Thanks all for your replies
Actually, the web job which we have deployed at Azure is related to Microsoft Dynamics 365, Hence, we have used Microsoft Dynamics 365 Business Closure Days functionality to identify the holidays and have written code in our hosted .Net Application program.

