mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-26 22:02:13 +09:00
Implement scheduled tasks
This commit is contained in:
parent
2f0ec84cc2
commit
53cd6e807d
7 changed files with 419 additions and 122 deletions
12
modules/module/schemas/task_schedule.xml
Normal file
12
modules/module/schemas/task_schedule.xml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<table name="task_schedule">
|
||||
<column name="id" type="bigint" notnull="notnull" primary_key="primary_key" auto_increment="auto_increment" />
|
||||
<column name="type" type="varchar" size="40" index="idx_type" />
|
||||
<column name="interval" type="varchar" size="191" index="idx_interval" />
|
||||
<column name="first_run" type="datetime" index="idx_first_run" />
|
||||
<column name="last_run" type="datetime" index="idx_last_run" />
|
||||
<column name="run_count" type="bigint" notnull="notnull" default="0" index="idx_run_count" />
|
||||
<column name="handler" type="varchar" size="191" notnull="notnull" />
|
||||
<column name="args" type="longtext" notnull="notnull" />
|
||||
<column name="options" type="longtext" notnull="notnull" />
|
||||
<column name="regdate" type="datetime" notnull="notnull" index="idx_regdate" />
|
||||
</table>
|
||||
Loading…
Add table
Add a link
Reference in a new issue