I’ve created plenty of out put with the debugging. I’ve trued to follow it through in the pluggin source but I’m struggling to why it’s deleting everything rather than just the page requested.
Just after midnight the cron action kicks in. The page it’s trying to remove (369) happens to be the front page. I’ve tried it with other pages and get exactly the same output.

It then goes on to append .needs-rebuild to the index.html to for every page in the cache.
Having done that it continues to try and remove the front page from the cache. But it just continues on to delete every page it had just renamed with .needs rebuild.