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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scheduler for actions --> CRON JOBS #757
Comments
Is there a way to broadcast ideas to the community with GitHub ? |
if u mean to other social channels like fb or linkedIn no. However happy to pin and tweet from our account and you could repost to other channels your self. To me sounds a great idea to share the funds, ideas, and testing of this feature |
upon interest we can open a discussion forum here in GitHub where participants can collaborate to avoid a long issue and not to disturb non interested users |
so i Guess we need a +1 from the interested users and we can invite them to the discussion forum to continue |
Good idea :) i have done something with Windows service, but shouls i put description that i wrote on linkedin here or wait to post it on forum? |
at the moment let's avoid commenting as it will lead to an unreadable thread. All member will invited to another dedicated discussion forum here at GitHub where we can organized subjects better. Thanks for participating. |
just a +1 is enough for now |
I've created a Windows-service solution also, together with a BusinessObject that registers the scheduledtasks (with some scheduling properties) + an interface for task-exection. The WindowsService creates/removes the BusinessObjects from the database. End-users can enable/disable tasks, set scheduling-options, and see last/next run-time + last result (succeeded/errors). |
We will outline your existing implementation along with the detailed bossiness scenarios you want to address and libraries/framework we should consider for helping us later. I want to give the community time to decide if wants to participate. So, probably another full week or so then we will move to a private forum to discuss the working model as it involves sensitive topics such as production apps and funding. Until we reach a proof of concept we will remain private and we will move to public along with the first build. Testing pipes integration may not be immediate and only run locally on my side as this integration requires a lot of resources and further scaling #759 Now I want to state the benefits of implementing the solution as suggested from Isa Tahiri.
Hopefully I did not forget something. Looking forward for feedback along these lines if any from everybody participants or not. Maybe users in this post also interested to join us |
thnks all participant for the thumbs up I invite you to a private chat room where we can start this work. The room is open for anyone else as well. The cost unless you want to go to Marsh wont change you will just need to sponsor your share |
@andrejskvorc @bertstomphorst please send me your mail so i can invite you, My mail is visible in my profile |
Hi Apostolis, where can i find invitation to this chat room ? |
it's a Gitter room u and @maginfo are already added all others i couldn;t cause I do not have your emails |
@apobekiaris the room doesn't seem to work? Or is still private? |
@isatahiri @bertstomphorst If you guys are interested, our company has already built a fully functional Job Server with ability to run Background Jobs (that kick off straight away but run by a separate process in the background) as well as Scheduled Jobs (that run on a Cron Schedule). It's fully functional with a UI for monitoring jobs, etc. It uses Hangfire rather than Quartz and because of that has a much cleaner architecture without need for stuff like remoting, etc. It can run on either SqlServer or Redis if you need higher performance. Essentially you can do everything that's supported in Hangfire and have a full XAF based UI for monitoring and managing jobs. See some UI here... https://i.imgur.com/4Q8Q0Yn.png As you can see in the screenshot we process thousands of jobs so it's definitely pretty robust. If that's something that may be of interest please feel free to reach out. |
this link does not work |
try again I just added to the room |
I chose to procced with Hangfire and Blazor only because Hangfire is well integrate to the aspnet core pipeline and has great docs and very active community. I just pushed the first prototype based on these tests In short the module creates a SharedYourXAFAppBlazorApplication and use it to feed the jobs. A job can use this instance providing a constructor with only one argument of type BlazorApplication [JobProvider()]
public class ImportDataJob {
private readonly XafApplication _application;
public ImportDataJob() {
}
public ImportDataJob(BlazorApplication application){
_application = application;
}
public void CustomerOrders() {
using var objectSpace = _application.CreateObjectSpace();
}
} |
In the screencast you can see Xpand.XAF.Modules.JobScheduler.Hangfire.mp4 |
饾棗饾棽饾榾饾棸饾椏饾椂饾棷饾棽 饾榿饾椀饾棽 饾榾饾椉饾椆饾槀饾榿饾椂饾椉饾椈 饾槅饾椉饾槀'饾棻 饾椆饾椂饾椄饾棽
I would like to be able to schedule a given action.
The actions should be type of Simple action (no parameters from the user) as a start.
So they become Cron Jobs. The idea is that a XAF developper codes the actions by himself and the scheduling should be done by the enduser in XAF UI directly.
I'm ready to financially contribute to it. (to be discussed)
Maybe some other users/members can also contribute or add functional needs ?
The text was updated successfully, but these errors were encountered: