mirror of
https://github.com/whyour/qinglong.git
synced 2026-12-01 09:45:36 +08:00
增加系统初始化任务
This commit is contained in:
1 parent
df1dc4fcbb
commit
b73431a7ab
7 files changed
+147
-21
No files matched your search
@@ -18,6 +18,10 @@ export default class CronService {
|
||||
});
|
||||
}
|
||||
|
||||
public getDb(): DataStore {
|
||||
return this.cronDb;
|
||||
}
|
||||
|
||||
public async create(payload: Crontab): Promise<void> {
|
||||
const tab = new Crontab(payload);
|
||||
tab.created = new Date().valueOf();
|
||||
|
||||
Reference in new issue
Block a user