crontab.go 330 B

1234567891011121314151617181920
  1. package config
  2. type CrontabInfo struct {
  3. IsRun bool
  4. NewDocsList Cron
  5. UpdateDocsList Cron
  6. }
  7. type Cron struct {
  8. Name string
  9. First bool
  10. Time string
  11. StartId int64
  12. StartIdKey string
  13. Count int
  14. StartDate string
  15. StartDateKey string
  16. EndDate string
  17. SleepTime int
  18. }