If you've been an SP admin for any amount of time, you probably have had to flush your timer cache at least once. If you've done it enough, you probably have a script for it. Some of the older and more popular scripts don't play nice with SharePoint 2016 due to the introduction of MinRole, or are just slow for big environments.
- KB to flush cache - https://support.microsoft.com/en-us/help/939308/error-message-when-you-try-to-modify-or-to-delete-an-alternate-access
- James Waymire blog post - https://blogs.msdn.microsoft.com/jamesway/2011/05/23/sharepoint-2010-clearing-the-configuration-cache/
- SPCacheCleaner on CodePlex - http://spcachecleaner.codeplex.com/
Fortunately, a PFE colleague of mine, Joe Rodgers, has a new version that plays nice with SharePoint 2016, and is multi-threaded. You can find it at the link below.
You can also find a library of all of Joe's scripts at the link below. There's a single threaded version, as well as a bunch of other handy stuff.