func WithSchedule(goCron *cron.Cron, schedule string) JobOption {
	return func(o *jobOptions) {
		o.cron = goCron
		o.schedule = schedule
		o.externalTrigger = false
	}
}
// WithSchedule is intened to run the job by cron.
// Pass the same cron as you call the start function.
// Schedule format should follow github.com/robfig/cron
WithSchedule is intened to run the job by cron.
Pass the same cron as you call the start function.
Schedule format should follow github.com/robfig/cron
// WithSchedule is intened to run the job by cron . // Pass the same cron as you call the start function . // Schedule format should follow github . com / robfig / cron
func WithSchedule(goCron *cron.Cron, schedule string) JobOption {
	return func(o *jobOptions) {
		o.cron = goCron
		o.schedule = schedule
		o.externalTrigger = false
	}
}
func WithSchedule ( goCron * cron . Cron , schedule string ) JobOption { return func ( o * jobOptions ) { o . cron = goCron o . schedule = schedule o . externalTrigger = false } }
WithSchedule is intened to run the job by cron.
WithSchedule is intened to run the job by cron .