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 360B

123456789101112131415
  1. // Copyright 2020 The Gitea Authors. All rights reserved.
  2. // SPDX-License-Identifier: MIT
  3. package structs
  4. import "time"
  5. // Cron represents a Cron task
  6. type Cron struct {
  7. Name string `json:"name"`
  8. Schedule string `json:"schedule"`
  9. Next time.Time `json:"next"`
  10. Prev time.Time `json:"prev"`
  11. ExecTimes int64 `json:"exec_times"`
  12. }