mirror of
https://github.com/sebastian-heinz/Arrowgene.DragonsDogmaOnline
synced 2026-08-03 11:12:41 -04:00
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.
7 lines
179 B
SQL
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);
|