code.gitea.io/gitea@v1.19.3/modules/structs/cron.go (about)

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