diff --git a/server/app/utils/get-plus.js b/server/app/utils/get-plus.js index f850f74..8027978 100644 --- a/server/app/utils/get-plus.js +++ b/server/app/utils/get-plus.js @@ -1,4 +1,3 @@ -const schedule = require('node-schedule') const { getLocalNetIP } = require('./tools') const { AESEncryptAsync } = require('./encrypt') const version = require('../../package.json').version @@ -91,10 +90,4 @@ async function getLicenseInfo(key = '') { } } -const randomHour = Math.floor(Math.random() * 24) -const randomMinute = Math.floor(Math.random() * 60) -const randomDay = Math.floor(Math.random() * 7) -const cronExpression = `${ randomMinute } ${ randomHour } * * ${ randomDay }` -schedule.scheduleJob(cronExpression, getLicenseInfo) - module.exports = getLicenseInfo