gocron icon indicating copy to clipboard operation
gocron copied to clipboard

Chainable Events?

Open VarunBatraIT opened this issue 8 years ago • 1 comments

	gocron.Every(1).
		Monday().Wednesday().Friday().Saturday().
		At("09:31").At("09:43").At("13:31").At("17:43").At("23:17").
		Do(SendSMS)

This doesn't work. Only last one stays. I was wondering if we can make it chainable like above?

VarunBatraIT avatar Nov 21 '16 10:11 VarunBatraIT

I am facing the same issue. I had to duplicate the line for each hour of the day. I think At override previous calls. Hope it will be possible soon.

neutronstein avatar Dec 13 '16 12:12 neutronstein