> ## Documentation Index
> Fetch the complete documentation index at: https://superofficeas-bugfix-ty-screen-designer-paradox.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# scheduled_task table

> A scheduled entry executing a script at certain times

## scheduled\_task Table (376)

A scheduled entry executing a script at certain times

## Fields

| Name         | Description                                         | Type                          | Nullable |
| ------------ | --------------------------------------------------- | ----------------------------- | :------: |
| id           | Primary key                                         | PK                            |    No    |
| script\_id   | The id of the script to execute.                    | FK [ejscript](./ejscript.mdx) |    Yes   |
| schedule\_id | Update schedule                                     | FK [schedule](./schedule.mdx) |    Yes   |
| description  | Optional description of what this task is used for. | String(2047)                  |    Yes   |

<img src="https://mintcdn.com/superofficeas-bugfix-ty-screen-designer-paradox/G4reeQVP-LmhQATQ/media/loc/en/database/tables/scheduled_task.png?fit=max&auto=format&n=G4reeQVP-LmhQATQ&q=85&s=3d048e3e3a3494c941a032ca0367ac57" alt="scheduled_task table relationship diagram" width="635" height="59" data-path="media/loc/en/database/tables/scheduled_task.png" />

## Indexes

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

## Relationships

| Table                  | Description                                                                   |
| ---------------------- | ----------------------------------------------------------------------------- |
| [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.
