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

Can a job be cancelled ? #5

Open
pkasson opened this issue Jan 7, 2024 · 0 comments
Open

Can a job be cancelled ? #5

pkasson opened this issue Jan 7, 2024 · 0 comments

Comments

@pkasson
Copy link

pkasson commented Jan 7, 2024

Hi - I have tried another Swift Cron SPM and it worked mostly ok, but you could not cancel a schedule.

That SPM created a cron interval correctly, and it started a task, using

queue.asyncAfter(deadline: .now() + getInterval()) { () -> () in

But, this cannot be cancelled. Does your SPM allow for cancelling a started task ?

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

1 participant