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
My code is here:
In Configuration
@Bean public static Task<Void> foo() { return Tasks.oneTime("foo") .execute((instance, ctx) -> { System.out.printf("FOO One Shot Task: %s, ctx: %s\n", instance, ctx); callingSomeMethod() }); }
Scheduling the task here
scheduler.schedule(SchedulerBean.foo().instance("1045"), Instant.now().plusSeconds(10));
My requirement is: when task is received, we call the method callingSomeMethod()
Basically, can we delete or reschedule the task manually?
Thanks for any help!
The text was updated successfully, but these errors were encountered:
My code is here:
In Configuration
Scheduling the task here
scheduler.schedule(SchedulerBean.foo().instance("1045"), Instant.now().plusSeconds(10));
My requirement is:
when task is received, we call the method callingSomeMethod()
Basically, can we delete or reschedule the task manually?
Thanks for any help!
The text was updated successfully, but these errors were encountered: