A nice script for clearing the SharePoint Timer Cache

One of the first things I learned when troubleshooting SharePoint was to reset the SharePoint Timer Service Cache.

The basics of it are:

  1. Stop the SPtimerV4 service on a box
  2. navigate to c:\programdata\Microsoft\SharePoint\Config\someguid
  3. delete everything but Cache.ini
  4. edit Cache.ini and replace the number you see with the number 1
  5. start SPtimerV4

Nick Hobbs has done a very nice powershell script to automate this across your whole farm: http://nickhobbs.wordpress.com/2012/06/14/sharepoint-2010-powershell-to-clear-the-timer-job-cache/, based on a script from Mickey Jervin 

Nice job Nick and Mickey!

– Jack

 

2 thoughts on “A nice script for clearing the SharePoint Timer Cache

  1. Hi Jack – thanks for sharing this. I think I may be at a point where I need to do this. I have about 100 Nintex workflows running (some of them run thousands of times per month), is there a down side to clearing this cache? Will it negatively impact any workflows “in flight?”

    1. I don’t think there is any downside, but you might want to check with nintex to make sure they don’t rely on this cache.

Leave a Reply to Jack Cancel reply