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

# schedule.weekly

This event triggers an agent once per Monday at 1:00 PM UTC. The specific day and time is not currently configurable.

> [!NOTE]
>
> If you need to configure a specific day and time, please reach out to us at [support@blocks.team](mailto:support@blocks.team).

```python theme={null}
@on("schedule.weekly")
def agent(input):
    pass
```

The following is an example payload which is passed in as an argument to your agent's entrypoint:

```json json theme={null}
{
  "triggered_at": "2024-01-01T00:00:00Z"
}
```

```python agent.py theme={null}
def agent(input):
    triggered_at = input.get("triggered_at")
```

## Fields

**triggered\_at** `string`

The date and time the agent was triggered.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.