2020-04-10 00:43:15 +02:00
|
|
|
import {fixNodeFilenames} from "../services/nodeService";
|
2020-06-30 17:08:24 +02:00
|
|
|
import {jobResultOkay} from "./scheduler";
|
2020-04-08 23:41:04 +02:00
|
|
|
|
|
|
|
export default {
|
|
|
|
name: 'FixNodeFilenamesJob',
|
|
|
|
description: 'Makes sure node files (holding fastd key, name, etc.) are correctly named.',
|
|
|
|
|
2020-06-30 17:08:24 +02:00
|
|
|
async run() {
|
|
|
|
await fixNodeFilenames();
|
|
|
|
return jobResultOkay();
|
|
|
|
},
|
2020-04-08 23:41:04 +02:00
|
|
|
}
|