mirror of https://github.com/certd/certd
chore:
parent
4574c6ff07
commit
2c4b7781a4
|
@ -88,7 +88,7 @@ export class AutoCRegisterCron {
|
||||||
// 添加plus即将到期检查任务
|
// 添加plus即将到期检查任务
|
||||||
this.cron.register({
|
this.cron.register({
|
||||||
name: 'plus-expire-check',
|
name: 'plus-expire-check',
|
||||||
cron: `0 10 9 * * *`,
|
cron: `0 10 9 * * *`, // 一天只能检查一次,否则会重复发送通知
|
||||||
job: async () => {
|
job: async () => {
|
||||||
const plusInfo = getPlusInfo()
|
const plusInfo = getPlusInfo()
|
||||||
if (!plusInfo.originVipType || plusInfo.originVipType==="free" ) {
|
if (!plusInfo.originVipType || plusInfo.originVipType==="free" ) {
|
||||||
|
|
Loading…
Reference in New Issue