Provide a way to cancel and reschedule tasks
See original GitHub issueMake it possible to cancel and reschedule given a task name and an instance Id. So basically something like this:
final String taskName = "myTaskName";
final OneTimeTask task = new MyOneTimeTask(taskName);
final String instanceId = "myInstanceId";
scheduler.scheduleForExecution(Instant.now().plusSeconds(5), task.instance(instanceId));
scheduler.reSchedule(taskName, instanceId, Instant.now().plusSeconds(15));
//Or
scheduler.cancelSchedule(taskName, instanceId);
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
How To Write a Meeting Cancellation Email (With Examples)
4. Ask to reschedule ... If your meeting is still relevant, ask the other person to reschedule by providing a few times you...
Read more >Task Cancellation | Microsoft Learn
Learn how to schedule cancellation of any associated tasks that are not completed within a period of time.
Read more >Here's how successful people cancel meetings, Stanford ...
The right way to 'cancel' · 1. Respond to invitations promptly by clicking “accept,” “decline” or “tentative.” · 2. Notify attendees at least...
Read more >How to Write a Polite Meeting Cancellation Email
1. It is better to dedicate some time and write it yourself, or at least from your own email address. 2. When terminating...
Read more >Meeting Cancellation Emails: How to Write One [+Examples]
8 tips on how to write a meeting cancellation email · Include a clear subject line · Write it yourself · Send it...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I think we need to
SchedulerClient
interface, and implement inScheduler
This feature was implemented in version 2.0 thanks to the PR from @tedsteen . Closing the issue.