adhocore / gronx

Lightweight, fast and dependency-free Cron expression parser (due checker, next/prev due date finder), task runner, job scheduler and/or daemon for Golang (tested on v1.13+) and standalone usage. If you are bold, use it to replace crontab entirely.
https://github.com/adhocore/gronx
MIT License
422 stars 25 forks source link

Unable to update or delete task when the tasker demon running #42

Open liuyi-cui opened 7 months ago

liuyi-cui commented 7 months ago

Hi, i saw the Tasker's properties are private. Can u add corresponding interfaces?

adhocore commented 7 months ago

hello, we can keep the properties private but expose Funcs for these operations (guarded by a sync.Mutex).

would you be interested for such a PR? thanks

liuyi-cui commented 7 months ago

Sure,it can solve my problem. Thanks。

adhocore commented 7 months ago

no prob, would you like to create a PR?

liuyi-cui commented 7 months ago

i will try.