backup serving, storing and restoring

This commit is contained in:
Julian Krauser 2025-02-02 16:23:44 +01:00
parent fc01263c4e
commit 6330ebd01d
8 changed files with 261 additions and 3 deletions

View file

@ -40,4 +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
});