feat: job cancel
This commit is contained in:
@@ -8,7 +8,7 @@ type CronJob interface {
|
|||||||
Args() []CronJobArg
|
Args() []CronJobArg
|
||||||
}
|
}
|
||||||
|
|
||||||
type CronJobArgInterface interface {
|
type JobArgs interface {
|
||||||
river.JobArgs
|
river.JobArgs
|
||||||
river.JobArgsWithInsertOpts
|
river.JobArgsWithInsertOpts
|
||||||
}
|
}
|
||||||
@@ -17,5 +17,5 @@ type CronJobArg struct {
|
|||||||
RunOnStart bool
|
RunOnStart bool
|
||||||
PeriodicInterval river.PeriodicSchedule
|
PeriodicInterval river.PeriodicSchedule
|
||||||
|
|
||||||
Arg CronJobArgInterface
|
Arg JobArgs
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user