You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

cron.go 432B

12345678910111213141516
  1. // Copyright 2020 The Gitea Authors. All rights reserved.
  2. // Use of this source code is governed by a MIT-style
  3. // license that can be found in the LICENSE file.
  4. package structs
  5. import "time"
  6. // Cron represents a Cron task
  7. type Cron struct {
  8. Name string `json:"name"`
  9. Schedule string `json:"schedule"`
  10. Next time.Time `json:"next"`
  11. Prev time.Time `json:"prev"`
  12. ExecTimes int64 `json:"exec_times"`
  13. }