(name, cronExpr string)
| 451 | } |
| 452 | |
| 453 | func (p *ScheduleParser) parseNamedFuzzyBase(name, cronExpr string) (string, error) { |
| 454 | if len(p.tokens) == 1 { |
| 455 | return cronExpr, nil |
| 456 | } |
| 457 | return "", fmt.Errorf("%s schedule does not support additional parameters, use '%s' alone for fuzzy schedule", name, name) |
| 458 | } |
| 459 | |
| 460 | func (p *ScheduleParser) parseMonthlyBase() (string, error) { |
| 461 | scheduleLog.Printf("Parsing monthly schedule: token_count=%d", len(p.tokens)) |