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

[FEATURE] - Monthly Schedule #43

Closed
iambudi opened this issue Jun 15, 2020 · 3 comments · Fixed by #47
Closed

[FEATURE] - Monthly Schedule #43

iambudi opened this issue Jun 15, 2020 · 3 comments · Fixed by #47
Labels
enhancement New feature or request

Comments

@iambudi
Copy link

iambudi commented Jun 15, 2020

I could not find a way to schedule cron job every month on specific day (Jan 5, Feb 5, March 5 so on).

gocron.Every(1).Month().On(5).At("hh:mm")

Is that already possible now or should be requested as a new feature?

Thanks

@iambudi iambudi added the enhancement New feature or request label Jun 15, 2020
@iambudi
Copy link
Author

iambudi commented Jun 15, 2020

I'm thinking doing workaround by running on Every(1).Day and check manually if the day is 5 and do the task.

@JohnRoesler
Copy link
Contributor

Correct, Month isn't a feature today. I think it would be a good feature to add 👍 I think Months as well would be added for every other month ability.

@arjunmahishi
Copy link
Member

arjunmahishi commented Jul 18, 2020

Working on this. Should we just consider a Month as 30 days? EDIT: Nevermind. It's not dependant on the number of days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants