Closed isatahiri closed 3 years ago
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). Tasks are parallel scheduled/executed. This works fine for our needs.
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?
yes this a private room i need your email to invite u
@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 https://gitter.im/xpandframework/cron-jobs
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();
}
}
The pre-release 2.201.22.2 in the DevExpress.XAF lab
branch includes commits that relate to this task:
To minimize version conflicts we recommend that you use the Xpand.XAF.Core.All, Xpand.XAF.Win.All, Xpand.XAF.Web.All packages. Doing so, all packages will be at your disposal and .NET will add a dependecy only to those packages that you actually use and not to all (see the Modules installation-registrations youtube video).
Please update the related Nuget packages and test if issues is addressed. These are nightly nuget packages available only from our NugetServer.
If you do not use these packages directly but through a module of the main eXpandFramework project, please wait for the bot to notify you again when integration is finished or update the related packages manually.
Thanks a lot for your contribution.
The pre-release 2.201.23.1 in the DevExpress.XAF lab
branch includes commits that relate to this task:
To minimize version conflicts we recommend that you use the Xpand.XAF.Core.All, Xpand.XAF.Win.All, Xpand.XAF.Web.All packages. Doing so, all packages will be at your disposal and .NET will add a dependecy only to those packages that you actually use and not to all (see the Modules installation-registrations youtube video).
Please update the related Nuget packages and test if issues is addressed. These are nightly nuget packages available only from our NugetServer.
If you do not use these packages directly but through a module of the main eXpandFramework project, please wait for the bot to notify you again when integration is finished or update the related packages manually.
Thanks a lot for your contribution.
In the screencast you can see how to declare, schedule, pause, resume and get more details
for a Job.
https://user-images.githubusercontent.com/159464/103535942-4c7b2100-4e9a-11eb-879c-4ec435e0a11e.mp4
The pre-release 2.201.25.0 in the DevExpress.XAF lab
branch includes commits that relate to this task:
To minimize version conflicts we recommend that you use the Xpand.XAF.Core.All, Xpand.XAF.Win.All, Xpand.XAF.Web.All packages. Doing so, all packages will be at your disposal and .NET will add a dependecy only to those packages that you actually use and not to all (see the Modules installation-registrations youtube video).
Please update the related Nuget packages and test if issues is addressed. These are nightly nuget packages available only from our NugetServer.
If you do not use these packages directly but through a module of the main eXpandFramework project, please wait for the bot to notify you again when integration is finished or update the related packages manually.
Thanks a lot for your contribution.
𝗗𝗲𝘀𝗰𝗿𝗶𝗯𝗲 𝘁𝗵𝗲 𝘀𝗼𝗹𝘂𝘁𝗶𝗼𝗻 𝘆𝗼𝘂'𝗱 𝗹𝗶𝗸𝗲 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 ?