Open Closed

How to implement Recurring Hangfire Job in abpZero project. #9827


0
asbbh created

I am developing an application in ASP.NET CORE & Angular v9.3.0, I have enabled the Hangfire successfully, But line to schedule a task/job which runs daily 7AM and 3PM. without user or manual intervision. My understading on the hangfire is to use Recurring Job, But Dont have any inplementation avaliable as like 'Abp.BackgroundJobs.IBackgroundJobManager'.

Every time an entiry is saved on to database the Job should be schedules to run that pirticular entity setting job 2 or 3 times a day based on the value given in the entity by end user. Also when user updated the entity, all the schedules jopbs for that pirticular task shold be readjusted accordinngly.


1 Answer(s)
  • 0
    ismcagdas created
    Support Team

    Hi @asbbh

    AspNet Zero only provides defining development time background workers. In your case, you can directly use Hangfire's API.