enragedginger / akka-quartz-scheduler

Quartz Extension and utilities for cron-style scheduling in Akka
Other
559 stars 114 forks source link

Cancel/Delete all job schedules #105

Closed amdelamar closed 3 years ago

amdelamar commented 3 years ago

Can we get a function added to cancel/remove all job schedules? There are a few functions I see that don't quite do this yet:

It'd be great addition to have a cancelAll() function.

amdelamar commented 3 years ago

I'd be happy to make a PR, if that helps.

enragedginger commented 3 years ago

@amdelamar Feel free to create a PR with some tests and I'll take a look at it!

felipebonezi commented 3 years ago

I'd be happy to make a PR, if that helps.

It will, waiting for it. 😁

amdelamar commented 3 years ago

I got the 'Ok' from my workplace, so I put up a PR. I decided it should be deleteAll() since cancelAll() is akin to suspendAll() and that's implemented already.