選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

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. }