Base solution for your next web application
Open Closed

Background Worker not visible in Hangfire #6537


User avatar
0
aggarwal created

Hi Guys,

I have enabled Hangfire in my project.

I also setup a job as per below. https://aspnetboilerplate.com/Pages/Documents/Background-Jobs-And-Workers#background-workers

The job is working fine, however, I cant see logs anywhere. Its not visible in Hangfire UI.

Is there anything else that needs to be done?

Regards, Vikas


4 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    Have you integrated hangfire? https://aspnetboilerplate.com/Pages/Documents/Hangfire-Integration

  • User Avatar
    0
    aggarwal created

    Hi,

    I have done the integration.

    Background jobs are showing up in hangfire. However, the background worker is not showing up under Recurring Jobs.

    Regards,, Vikas

  • User Avatar
    0
    maliming created
    Support Team

    Hangfire does not handle background worker.

    ABP's background worker systems are simple. It does not have a schedule system, except for periodic running workers as demonstrated above. If you need more advanced scheduling features, we suggest you check out Quartz or another library.

    see: https://aspnetboilerplate.com/Pages/Documents/Background-Jobs-And-Workers#advanced-scheduling

  • User Avatar
    0
    aggarwal created

    Thanks for confirming, Will check.