NextTime("0 0 * * 5L", time.Now())
"0 0 * * 5L")
...NextTime(fromTime)
... because I am not sure how I can change the entry over at godoc.org, otherwise I would do it right away, as it is the best time to do it, before the library starts being used.
I agree with all Carlos suggestions, so I think you made the right decision. :)
I Have a created a cron expression which will run at every 3 minutes interval (3.05 AM, 3.08 AM,3.11 AM etc) from Monday to Friday and once it reach to every hour(1 AM, 2 AM, 3 AM ,4 Am etc)the interval is became 5 minutes (3.5 AM , 3.8 AM.... 3.58 AM,4.5 AM) again it will run as the normal interval 3 minutes. but how can i make this expression to tell that the five minutes interval should not happen at every hour it should happen at 8AM , 11AM , 2PM an 5 PM and the remaining schedule should be 3 minutes interval.
Please see my current cron expression here
0 5/3 00-02,05-17,19-23 ? * MON-FRI *
your help is really appreciated.