ddon-server/Arrowgene.Ddon.Database/Files/Database/Script/migration_scheduling.sql
Paul Campbell 7fe9fc94c0 feat: Implement a task scheduler
Implemented a light weight mechanism for scheduling recurring tasks.
This can be used to implement, hourly, daily or weekly resets. There is
also an intention to use the mechanism to check for seasonal events and
turn on/off depending on the date.
2024-12-15 08:29:07 -05:00

7 lines
179 B
SQL

CREATE TABLE ddon_schedule_next (
"type" INTEGER NOT NULL,
"timestamp" BIGINT NOT NULL,
PRIMARY KEY("type")
);
INSERT INTO ddon_schedule_next(type, timestamp) VALUES (19, 0);