mirror of https://gitgud.io/fatchan/jschan.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
333 B
15 lines
333 B
'use strict';
|
|
|
|
const deleteOld = require(__dirname+'/../../lib/file/deleteold.js')
|
|
, timeUtils = require(__dirname+'/../../lib/converter/timeutils.js');
|
|
|
|
module.exports = {
|
|
|
|
func: async () => {
|
|
return deleteOld('captcha', Date.now()-(timeUtils.MINUTE*5))
|
|
},
|
|
interval: timeUtils.MINUTE*5,
|
|
immediate: true,
|
|
condition: null
|
|
|
|
};
|
|
|