Comment by stackskipton
5 hours ago
I've been at several companies that have tried.
One just did it with code where all the processes had holiday.json which would be checked at each launch, if it was holiday, it would do no work and exit.
Other one is operator that would monitor if it was supposed to be a holiday and either change systemd or Kubernetes to suspend the jobs.
I'd recommend code over messing with the system, much more flexible.
The GOV.UK website has a list of UK bank holidays on it. If you add a .json to the end of the URL you get this, a thing of beauty.
https://www.gov.uk/bank-holidays.json