Keep history of jobs executed for more than 1 day in Hangfire

I’ve just started using Hangfire, and I am loving it.

I understand that Hangfire maintains the history for succeeded jobs for 1 day, and clear it thereafter.

Is there is a way where I can customize this default behaviour and persist the history for any duration say 7 days?

See: How to configure the retention time of job?

1 Like