SyncCheckinMonth

This commit is contained in:
jiangyong27 2024-01-10 12:16:48 +08:00
parent 32bb9c7605
commit d04c3b50e9
1 changed files with 4 additions and 0 deletions

View File

@ -21,6 +21,10 @@ func Init() error {
go checkIn.SyncCheckinDay("") go checkIn.SyncCheckinDay("")
}) })
cron.Every(1).Month(1).At("05:20").Do(func() {
go checkIn.SyncCheckinMonth("")
})
// 1-10号计算工资信息 // 1-10号计算工资信息
cron.Every(1).Month(1).At("05:30").Do(func() { cron.Every(1).Month(1).At("05:30").Do(func() {
go staff.SyncStaffSalary("") go staff.SyncStaffSalary("")