]> git.mxchange.org Git - friendica.git/blob - doc/database/db_workerqueue.md
Trailing whitespace removed
[friendica.git] / doc / database / db_workerqueue.md
1 Table workerqueue
2 ===========
3
4 Background tasks queue entries
5
6 | Field     | Description                                             | Type             | Null | Key | Default             | Extra          |
7 | --------- | ------------------------------------------------------- | ---------------- | ---- | --- | ------------------- | -------------- |
8 | id        | Auto incremented worker task id                         | int unsigned     | NO   | PRI | NULL                | auto_increment |
9 | command   | Task command                                            | varchar(100)     | YES  |     | NULL                |                |
10 | parameter | Task parameter                                          | mediumtext       | YES  |     | NULL                |                |
11 | priority  | Task priority                                           | tinyint unsigned | NO   |     | 0                   |                |
12 | created   | Creation date                                           | datetime         | NO   |     | 0001-01-01 00:00:00 |                |
13 | pid       | Process id of the worker                                | int unsigned     | NO   |     | 0                   |                |
14 | executed  | Execution date                                          | datetime         | NO   |     | 0001-01-01 00:00:00 |                |
15 | next_try  | Next retrial date                                       | datetime         | NO   |     | 0001-01-01 00:00:00 |                |
16 | retrial   | Retrial counter                                         | tinyint          | NO   |     | 0                   |                |
17 | done      | Marked 1 when the task was done - will be deleted later | boolean          | NO   |     | 0                   |                |
18
19 Return to [database documentation](help/database)