Skip to content
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

IScheduleService CRUD operations #2

Open
williamd1618 opened this issue Mar 5, 2012 · 1 comment
Open

IScheduleService CRUD operations #2

williamd1618 opened this issue Mar 5, 2012 · 1 comment

Comments

@williamd1618
Copy link

I've noticed that the IScheduleService does not support an entire set of CRUD operations. I'd like to be able to update schedules or deleted schedules via a restful interface that adapts the NCron IScheduleService. Can this be added or can I add this and go through the typical approval process to get published to the central nuget repository as a minor release?

Thanks.

@schourode
Copy link
Owner

I like the idea of being able to deregister a job from the scheduling service. At it's core, it would involve adding a RemoveScheduledJob(JobExecutionWrapper) method on ``ISchedulingService`, which should be pretty easy. However, adding similar functionality to the fluent API might require some more consideration.

Could you post a few lines of fictive sample code demonstrating how you would add a job and later remove it from the scheduler? You are also very welcome to implement the functionality you require and send a pull request. If you stick to simply adding an extra method as described above, I am very likely to merge it. If your changes are more substantial, I will have to think it all through more carefully first, though.

Sorry for the delay in getting back to you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants