self defined value tables - getters
This commit is contained in:
parent
c85f23ed73
commit
ddb355836a
28 changed files with 1067 additions and 0 deletions
|
@ -25,3 +25,10 @@ router(app);
|
|||
app.listen(SERVER_PORT, () => {
|
||||
console.log(`listening on *:${SERVER_PORT}`);
|
||||
});
|
||||
|
||||
import schedule from "node-schedule";
|
||||
import RefreshCommandHandler from "./command/refreshCommandHandler";
|
||||
const job = schedule.scheduleJob("0 0 * * *", async () => {
|
||||
console.log(`running Cron at ${new Date()}`);
|
||||
await RefreshCommandHandler.deleteExpired();
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue