Schedule
Schedule copied to clipboard
Still working for macOS?
I tried the Schedule package for swift on a mac application. The following code didn't print out anything:
_ = Plan.every(1.seconds).do(mode: .default) {
print("Ping!")
}
Plan.every(1.second).do(queue: .global()) {
print("On a globle queue")
}
Plan.every(.monday, .tuesday, .wednesday, .thursday, .friday).at("6:49 am").do {
print("planWorkTimer is start")
}
CFRunLoopRun()
Is it still supported or does it not work for macOS? Thank you 😊