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