mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
28 lines
354 B
Go
28 lines
354 B
Go
package apps
|
|
|
|
import (
|
|
"github.com/apex/log"
|
|
)
|
|
|
|
type Scheduler struct {
|
|
}
|
|
|
|
func (app *Scheduler) Init() {
|
|
}
|
|
|
|
func (app *Scheduler) Start() {
|
|
log.Info("scheduler has started")
|
|
}
|
|
|
|
func (app *Scheduler) Wait() {
|
|
DefaultWait()
|
|
}
|
|
|
|
func (app *Scheduler) Stop() {
|
|
log.Info("scheduler has stopped")
|
|
}
|
|
|
|
func NewScheduler() *Scheduler {
|
|
return &Scheduler{}
|
|
}
|