# before_queue_inserttaskdb
Event is triggered shortly before queue task is added to database for processing
# Hook parameter
An array is passed with following elements
| Key | Type | Description |
|---|---|---|
rel_type | string | related item type, ie; Domain, Hosting |
rel_id | int | related item id |
token | string | task token |
status | int | status of task |
date | /string | of task schedule |
queue | string | queue name |
job | string | function name to be executed |
description | string | human-readable task description |