Implement main, optional seconds, and from file

This commit is contained in:
bel
2020-03-13 04:40:02 +00:00
parent a1cea7d1cb
commit 877ec310bd
7 changed files with 32 additions and 7 deletions

View File

@@ -4,7 +4,8 @@ import cron "github.com/robfig/cron/v3"
func getParser() cron.Parser {
return cron.NewParser(
cron.Minute |
cron.SecondOptional |
cron.Minute |
cron.Hour |
cron.Dom |
cron.Month |