mirror of https://github.com/requarks/wiki
refactor: scheduler - simple tasks handling (#5703)
parent
f4ce5ff63e
commit
011be49ab4
@ -0,0 +1,12 @@
|
||||
module.exports = async (payload) => {
|
||||
WIKI.logger.info('Checking for latest version...')
|
||||
|
||||
try {
|
||||
// TODO: Fetch latest version
|
||||
|
||||
WIKI.logger.info('Checked for latest version: [ COMPLETED ]')
|
||||
} catch (err) {
|
||||
WIKI.logger.error('Checking for latest version: [ FAILED ]')
|
||||
WIKI.logger.error(err.message)
|
||||
}
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
module.exports = async (payload) => {
|
||||
WIKI.logger.info('Fetching latest localization data...')
|
||||
|
||||
try {
|
||||
// TODO: Fetch locale updates
|
||||
|
||||
WIKI.logger.info('Fetched latest localization data: [ COMPLETED ]')
|
||||
} catch (err) {
|
||||
WIKI.logger.error('Fetching latest localization data: [ FAILED ]')
|
||||
WIKI.logger.error(err.message)
|
||||
}
|
||||
}
|
Loading…
Reference in new issue