Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrLocked = errors.New("crontab/jobwrapper/mutex: job is locked")
Functions ¶
func SkipIfStillMutexRunning ¶
func SkipIfStillMutexRunning(opts ...Option) cron.JobWrapper
Types ¶
type ExpirableJob ¶
type MutexJob ¶
type MutexJob struct{} //nolint:revive
func (*MutexJob) IsMutexJob ¶
func (m *MutexJob) IsMutexJob()
type Option ¶
type Option func(*options)
func WithExpiration ¶
func WithLocker ¶
func WithLogger ¶
func WithLogger(logger cron.Logger) Option
func WithPrefix ¶
Click to show internal directories.
Click to hide internal directories.