Hacker News new | ask | show | jobs
by stackskipton 342 days 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.

1 comments

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

Neat, what does bunting mean in this context?
I think it exists to power this easter egg?: https://github.com/alphagov/calendars/issues/678 The value I guess depends on whether its appropriate to put up decorations ie a 'celebratory' holiday. It looks like the only non-bunting holidays on there right now are Good Friday (which is more solemn) and Orangemens' Day (which is pretty sectarian), but apparently in the past the Queen's funeral was another non-bunting holiday: https://news.ycombinator.com/item?id=37789437