> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# dbi_agent_schedule table

> DBI agent schedule settings

## dbi\_agent\_schedule Table (383)

DBI agent schedule settings

## Fields

| Name              | Description                                                              | Type                             | Nullable |
| ----------------- | ------------------------------------------------------------------------ | -------------------------------- | :------: |
| id                | Primary key                                                              | PK                               |    No    |
| agent\_id         | Agent                                                                    | FK [dbi\_agent](./dbi-agent.mdx) |    Yes   |
| script\_id        | Communication script                                                     | FK [ejscript](./ejscript.mdx)    |    Yes   |
| schedule\_id      | Update schedule                                                          | FK [schedule](./schedule.mdx)    |    Yes   |
| sent\_objects     | Number of objects sent during the last syncronization                    | Int                              |    No    |
| received\_objects | Number of objects received during the last syncronization                | Int                              |    No    |
| id\_string        | A field for an id\_string which may be used to access the agent schedule | String(255)                      |    No    |

<img src="https://mintcdn.com/superofficeas/i6M2qZmvMNH7UTeu/media/loc/en/database/tables/dbi_agent_schedule.png?fit=max&auto=format&n=i6M2qZmvMNH7UTeu&q=85&s=4b59afe990bf7d57712701f6af56dc24" alt="dbi_agent_schedule table relationship diagram" width="677" height="667" data-path="media/loc/en/database/tables/dbi_agent_schedule.png" />

## Indexes

| Fields       | Types | Description |
| ------------ | ----- | ----------- |
| agent\_id    | FK    | Index       |
| script\_id   | FK    | Index       |
| schedule\_id | FK    | Index       |

## Relationships

| Table                     | Description                                                                   |
| ------------------------- | ----------------------------------------------------------------------------- |
| [dbi\_agent](./dbi-agent) | DBI agent settings                                                            |
| [ejscript](./ejscript)    | ejscript                                                                      |
| [schedule](./schedule)    | Generic scheduled tasked handling time scheduling, locking and error messages |

## Replication Flags

* None

## Security Flags

* No access control via user's Role.


## Related topics

- [dbi_agent table](/en/database/tables/dbi-agent.md)
- [Void](/en/automation/crmscript/reference/CRMScript.Global.Void.md)
- [dbi_agent_field table](/en/database/tables/dbi-agent-field.md)
- [schedule table](/en/database/tables/schedule.md)
- [ejscript table](/en/database/tables/ejscript.md)
- [dbi](/en/onsite/automated-tasks/dbi.md)
