Cannot use Server.MapPath in code for a recurrring job

Hangfire always runs as an in-process component in an ASP.Net application, even though it uses a separate thread pool to run and not the ASP.Net thread pool. Different thread pool does not mean it runs in a different process.