Fix: relative path for SQLite file

This commit is contained in:
HFO4
2020-03-11 15:46:24 +08:00
parent 45b54b3455
commit 8ad7702736
3 changed files with 2 additions and 4 deletions

View File

@@ -21,7 +21,7 @@ func Reload() {
func Init() {
util.Log().Info("初始化定时任务...")
// 读取cron日程设置
options := model.GetSettingByNames("cron_garbage_collect", "cron_notify_user", "cron_ban_user")
options := model.GetSettingByNames("cron_garbage_collect")
Cron := cron.New()
for k, v := range options {
var handler func()