Base solution for your next web application
Open Closed

How to get a list of current running background jobs? #4757


User avatar
0
lgarcia created

How is possible to get a list of current running jobs and the percent of completion? Thanks


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

    hi there's not a feature to get running background jobs. but if you use Abp.HangFire then it has more feature

    <a class="postlink" href="https://aspnetboilerplate.com/Pages/Documents/Hangfire-Integration">https://aspnetboilerplate.com/Pages/Doc ... ntegration</a>

  • User Avatar
    0
    ismcagdas created
    Support Team

    @lgarcia it is not implemented by default. You can create an interceptor for BackgroundJobs, then insert a record to DB (in a custom table you will create) before running Execute method and you can update this record when Execute method finishes the job.

    Then you can use your custom table to query such information.