Files
Atay-Makhzan/modules/structs/cron.go
T

16 lines
360 B
Go
Raw Normal View History

2020-08-24 16:48:15 +01:00
// Copyright 2020 The Gitea Authors. All rights reserved.
// SPDX-License-Identifier: MIT
2020-08-24 16:48:15 +01:00
package structs
import "time"
// Cron represents a Cron task
type Cron struct {
Name string `json:"name"`
Schedule string `json:"schedule"`
Next time.Time `json:"next"`
Prev time.Time `json:"prev"`
ExecTimes int64 `json:"exec_times"`
}