How to override core history_cron I want to display the reading history of nodes using Views.
For this reason there is a history module in core, but the history_cron  hook deletes history older than 1 month.
I want to override this hook so that history is not deleted.
What should i do?
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.