-
-
Notifications
You must be signed in to change notification settings - Fork 305
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
[FEATURE] - support Cron expression #28
Comments
Hey yisany, thanks for reaching out. This could be implemented indeed... will make a few adjustments to see how it currently fits in our api, but I think we'd use a whole new methods set for this to keep things simple |
I think this package can help parse cron expression |
I would love to see this functionality as well. This library seems somewhat more robust and well maintained than https://github.com/reugn/go-quartz, but I want to be able to specify jobs in a config file, and cron expressions lend themselves really well for that. Anyone going to work on this? I'm too new to Go to give it a shot sadly. |
Hey @dandydev, thank you for the feedback. We're talking about this issue to see who's going to take it, but we have our eyes on it! :) |
It's definitely something we'd like to support! I will have a PR up soon |
This is released in https://github.com/go-co-op/gocron/releases/tag/v1.3.0 |
Maybe you can do something to support cron expression.
such as:
cron.Every("0/40 * * * * ? ").Do(task)
The text was updated successfully, but these errors were encountered: