Blocks Documentation home page
Search...
⌘K
About
What is Blocks?
Getting Started
Installation
API Keys
CLI
Agents
Decorators
Events
Environment Variables
Config Model
CLI
configure
create
init
push
Events
github.issue_comment
github.pull_request_comment
github.pull_request_review_comment
linear.issue_comment
schedule.daily
schedule.weekly
slack.mention
webhook
Decorators
@agent
@on
SDK
bash
experimental_bash
config
git
repo
Dashboard
Blocks Documentation home page
Search...
⌘K
Dashboard
Dashboard
Search...
Navigation
Events
schedule.weekly
Events
schedule.weekly
This event triggers an agent once per Monday at 1:00 PM UTC. The specific day and time is not currently configurable.
If you need to configure a specific day and time, please reach out to us at
support@blocksorg.com
.
Copy
@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
agent.py
Copy
{
"triggered_at"
:
"2024-01-01T00:00:00Z"
}
Fields
triggered_at
string
The date and time the agent was triggered.
Previous
slack.mention
Next
On this page
Fields
Assistant
Responses are generated using AI and may contain mistakes.