salary bill time
This commit is contained in:
parent
b4531539ca
commit
ff715ebbdf
|
@ -31,7 +31,7 @@ func Init() error {
|
|||
})
|
||||
|
||||
//10号晚上8点发送工资单
|
||||
cron.Every(1).Month(1).At("20:00").Do(func() {
|
||||
cron.Every(1).Month(10).At("22:00").Do(func() {
|
||||
go SendStaffSalaryBill(time.Now().AddDate(0, -1, 0).Format("200601"))
|
||||
})
|
||||
cron.StartAsync()
|
||||
|
|
Loading…
Reference in New Issue