implement job runner and scheduler
This commit is contained in:
parent
328a70ff9b
commit
2b2a3f1cc0
11 changed files with 1572 additions and 284 deletions
|
|
@ -52,6 +52,7 @@ CREATE TABLE IF NOT EXISTS job_execution (
|
|||
created_at TEXT NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
started_at TEXT,
|
||||
ended_at TEXT,
|
||||
stop_requested_at TEXT,
|
||||
running_status INTEGER NOT NULL DEFAULT 0 CHECK (running_status BETWEEN 0 AND 4),
|
||||
requests_count INTEGER NOT NULL DEFAULT 0,
|
||||
items_count INTEGER NOT NULL DEFAULT 0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue