-
-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add possibility to schedule jobs #466
Comments
Do you need jhipster for that ? You can use https://www.hangfire.io/. |
i think embed in jhipster generator like Quartz.net is simpler than hangfire. Thanks |
Yes maybe, but what is the added value of generating this part ? Add the nuget and expose the configuration ? If it's just for that I think developers can do it |
some time the first generated jhipster app need to use execute jobs. for example : the not active user must be deleted before 2 days ago. and the other hand yes add nuget package and use it. Thanks |
If you need pre-made it's ok for me |
ok ,i hope i can do it . |
If you need help, don't hesitate to ping me |
We can use integrated .Net Core And use of |
the main advantage of the hangfire is that you can also have an admin part with the cron states, monitoring etc... |
It would be interesting if the job scheduler could work properly when we horizontally scale the application (running the app on 3 servers, as example). We don't want the same job running on all servers. That would waste resources and lead to problems. It seems that hangfire.io supports this scenario: https://docs.hangfire.io/en/latest/background-processing/running-multiple-server-instances.html What I have not liked about hangfire.io is that the supported storage options are MSSQL and Redis only (https://docs.hangfire.io/en/latest/#job-storage). But I'm not sure it is a problem. I have not used hangfire.io before. Edit: |
Quartz.Net also seems interesting and worth investigating. It supports job persistence (in memory and database by ado.net), fail retry and, clustering (multi-server). |
My opinion is that the job shceduling solution should:
And allow more complex scenarios such as:
Both hangfire.io and Quartz.Net seems to have its pros and cons. @maznag @nicolas63 You both have interesting ideas, please share what you think. |
Overview of the feature request
for execute certain task in the background that should be executed at predefined intervals of time .
Motivation for or Use Case
Related issues or PR
The text was updated successfully, but these errors were encountered: