feat: add startCron to start list

This commit is contained in:
Derrick Hammer 2024-01-19 17:48:42 -05:00
parent 48e3c690ce
commit eaa515345e
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 5 additions and 0 deletions

View File

@ -19,9 +19,14 @@ func startDatabase(p interfaces.Portal) error {
return p.DatabaseService().Start() return p.DatabaseService().Start()
} }
func startCron(p interfaces.Portal) error {
return p.CronService().Start()
}
func getStartList() []startFunc { func getStartList() []startFunc {
return []startFunc{ return []startFunc{
startProtocolRegistry, startProtocolRegistry,
startDatabase, startDatabase,
startCron,
} }
} }