feat: add startCron to start list
This commit is contained in:
parent
48e3c690ce
commit
eaa515345e
|
@ -19,9 +19,14 @@ func startDatabase(p interfaces.Portal) error {
|
|||
return p.DatabaseService().Start()
|
||||
}
|
||||
|
||||
func startCron(p interfaces.Portal) error {
|
||||
return p.CronService().Start()
|
||||
}
|
||||
|
||||
func getStartList() []startFunc {
|
||||
return []startFunc{
|
||||
startProtocolRegistry,
|
||||
startDatabase,
|
||||
startCron,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue