Skip to content

Can a cron job be cancelled ? #33

@pkasson

Description

@pkasson

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions