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

Add ability to manually trigger a scheduled task to validate the task configuration #296

Open
ElanHasson opened this issue Oct 27, 2022 · 0 comments
Labels
backlog enhancement New feature or request good first issue Good for newcomers hacktoberfest Good issues for Hacktoberfest

Comments

@ElanHasson
Copy link
Member

Describe the feature

The proposal here is to add a ManualTrigger() method to the ScheduledTaskGrain which triggers the task, ignoring the task.IsEnabled and task.NextRunAt properties.

ManualTrigger() should return the ScheduledTaskTriggerHistory object instead of adding the result to the Task's Trigger History.

This is a diagnostic endpoint and should be protected via the auth mechanism.

@ElanHasson ElanHasson added enhancement New feature or request good first issue Good for newcomers hacktoberfest Good issues for Hacktoberfest backlog labels Oct 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog enhancement New feature or request good first issue Good for newcomers hacktoberfest Good issues for Hacktoberfest
Projects
None yet
Development

No branches or pull requests

1 participant