Hi,
We have just one Hangfire job running on our website, running every hour on the hour. For some reason it has stopped running and I cannot reproduce the problem in development.
In the logs I see the following: DEBUG 2019-05-11 14:16:47,841 [88 ] Abp.Modules.AbpModuleManager - Shutting down has been started DEBUG 2019-05-11 14:16:47,843 [88 ] bp.Hangfire.HangfireBackgroundJobManager - Stop background worker: Abp.Hangfire.HangfireBackgroundJobManager DEBUG 2019-05-11 14:16:47,844 [88 ] bp.Hangfire.HangfireBackgroundJobManager - WaitToStop background worker: Abp.Hangfire.HangfireBackgroundJobManager DEBUG 2019-05-11 14:16:47,844 [88 ] Abp.Modules.AbpModuleManager - Shutting down completed. INFO 2019-05-11 14:16:47,873 [88 ] Hangfire.BackgroundJobServer - Hangfire Server stopped.
5 Answer(s)
-
0
Hi, looks like your app is shutdowning, therefore abp modules are getting disposed. Have you configured your app to be
alwaysalive ?Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Do you have a link as to how that can be done in Core?
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
According to this link (which is written for older ASP.NET), "It is not necessary for ASP.NET Core, because application is exposed by a console application that it already always on." Could there be another reason for the problems we are having?
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
It is not necessary for ASP.NET Core,
It doesn't differ whether you are using asp .net or asp .net core, application hosting will be the main factor to decide whether your application should be sleeping/suspended
because application is exposed by a console application that it already always on
I don't quite understand the scenario, can you provide more details?
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)