split uploaded and generated backups
This commit is contained in:
parent
542a77fbef
commit
0d6103170a
6 changed files with 122 additions and 15 deletions
|
@ -40,5 +40,5 @@ import RefreshCommandHandler from "./command/refreshCommandHandler";
|
|||
const job = schedule.scheduleJob("0 0 * * *", async () => {
|
||||
console.log(`${new Date().toISOString()}: running Cron`);
|
||||
await RefreshCommandHandler.deleteExpired();
|
||||
// TODO: create backup by interval env
|
||||
await BackupHelper.createBackupOnInterval();
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue