How to override core history_cron
With Ultimate Cron you can problably disable it from running using its configuration form.

If you look at its API, it adds a hook_cron_alter that you could implement if you wanted to do it by code.