Hi,
i have a command line script which seeds some data. It uses the services in my application which in turn use hangfire to send emails. I have a special DI container in this seeder program but I have no idea how to tell hangfire to do “nothing”. Currently I get the following error “JobStorage.Current property value has not been initialized. You must set it before using Hangfire Client or Server API”. What can I do, that this exception is not thrown and hangfire keeps silence.
Thanks
Andi