Starts in:
0 DAY
17 HRS
36 MIN
6 SEC
Starts in:
0 D
17 H
36 M
6 S
Open Closed

Schedule the job to run on specific date and time #3786


User avatar
0
imranStem created

I read the documentation on background jobs and worker processes but I have a requirement to schedule the task to run on a specific date and time. I don't want to use the worker process which will run on every seconds or minutes to check the schedular and execute the task.

Suppose, I have a task to change the product price at midnight or a specific date and time so I can schedule the new product price and that job should trigger exact the date and time and change the product price.

  • ABP Framework version: v6.0
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

1 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    The default background job is just simple. You can consider using Hangfire or Quartz

    https://docs.abp.io/en/abp/latest/Background-Workers-Hangfire https://docs.abp.io/en/abp/latest/Background-Workers-Quartz

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06