Base solution for your next web application
Open Closed

Why I cant see my BackgroundWorker on Hangfire dashboard? #7958


User avatar
0
vincent.calaor created

I am able to setup the Hangfire and UseHangfire from the PreInitialize of my abpModule unfortunately I cant see the recurring task from the HangFire Dashboard, but I can see, by break point, that the background worker is hitting the DoWork of my PeriodicBackgroundWorkerBase

Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)

2 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Could you check the database tables for Hangire to see if they have related records ?

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    vincent.calaor created

    I just found out that PeriodicBackgroundWorkerBase is not using hangfire at all. its a standalone triggered by timer.

    Anyway I was able to find a code using IRecurringJobManager and implement it with Hangfire.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)